Module: Goraku::Client::Schedule
- Included in:
- Goraku::Client
- Defined in:
- lib/goraku/client/schedule.rb
Instance Method Summary collapse
- #schedule ⇒ Object
- #schedule_broadcasting ⇒ Object
- #schedule_channel(channel_id) ⇒ Object
- #schedule_channel_broadcasting(channel_id) ⇒ Object
- #schedule_channel_programs(channel_id) ⇒ Object
- #schedule_programs ⇒ Object
Instance Method Details
#schedule ⇒ Object
5 6 7 |
# File 'lib/goraku/client/schedule.rb', line 5 def schedule get '/schedule.json' end |
#schedule_broadcasting ⇒ Object
13 14 15 |
# File 'lib/goraku/client/schedule.rb', line 13 def schedule_broadcasting get '/schedule/broadcasting.json' end |
#schedule_channel(channel_id) ⇒ Object
17 18 19 |
# File 'lib/goraku/client/schedule.rb', line 17 def schedule_channel(channel_id) get "/schedule/#{channel_id}.json" end |
#schedule_channel_broadcasting(channel_id) ⇒ Object
25 26 27 |
# File 'lib/goraku/client/schedule.rb', line 25 def schedule_channel_broadcasting(channel_id) get "/schedule/#{channel_id}/broadcasting.json" end |
#schedule_channel_programs(channel_id) ⇒ Object
21 22 23 |
# File 'lib/goraku/client/schedule.rb', line 21 def schedule_channel_programs(channel_id) get "/schedule/#{channel_id}/programs.json" end |
#schedule_programs ⇒ Object
9 10 11 |
# File 'lib/goraku/client/schedule.rb', line 9 def schedule_programs get '/schedule/programs.json' end |