Module: Jtv::Stream
- Included in:
- Client
- Defined in:
- lib/jtv/stream.rb
Instance Method Summary collapse
Instance Method Details
#featured(params = {}) ⇒ Object
9 10 11 |
# File 'lib/jtv/stream.rb', line 9 def featured params = {} get 'streams/featured.json', params end |
#search(query, params = {}) ⇒ Object
13 14 15 16 |
# File 'lib/jtv/stream.rb', line 13 def search query, params = {} query = URI.escape query get "search/streams.json?q=#{query}", params end |
#summary(params = {}) ⇒ Object
5 6 7 |
# File 'lib/jtv/stream.rb', line 5 def summary params = {} get 'streams/summary.json', params end |