Method: TwitterStream#filter
- Defined in:
- lib/twitterstream.rb
#filter(params = nil) ⇒ Object
48 49 50 51 52 53 |
# File 'lib/twitterstream.rb', line 48 def filter(params=nil) raise ArgumentError, "params is not hash" unless params.nil? || params.kind_of?(Hash) start_stream('filter', params) do |status| yield status end end |