Module: Washbullet::API::Subscriptions
- Included in:
- Washbullet::API
- Defined in:
- lib/washbullet/api/subscriptions.rb
Instance Method Summary collapse
Instance Method Details
#channel_info(tag) ⇒ Object
10 11 12 13 14 |
# File 'lib/washbullet/api/subscriptions.rb', line 10 def channel_info(tag) response = get('/v2/channel-info', tag: tag).body Washbullet::Channel.new(response) end |
#subscriptions ⇒ Object
4 5 6 7 8 |
# File 'lib/washbullet/api/subscriptions.rb', line 4 def subscriptions response = get('/v2/subscriptions') Washbullet::Channel.from_response(response) end |