Class: Ruboty::Handlers::Chinachu
- Inherits:
-
Base
- Object
- Base
- Ruboty::Handlers::Chinachu
- Defined in:
- lib/ruboty/handlers/chinachu.rb
Instance Method Summary collapse
- #daily_reservation_list(message) ⇒ Object
- #delete_reservation(message) ⇒ Object
- #list_broadcasting(message) ⇒ Object
- #list_channel(message) ⇒ Object
- #list_recorded(message) ⇒ Object
- #list_recording(message) ⇒ Object
- #list_schedule(message) ⇒ Object
- #reserve(message) ⇒ Object
Instance Method Details
#daily_reservation_list(message) ⇒ Object
25 26 27 |
# File 'lib/ruboty/handlers/chinachu.rb', line 25 def daily_reservation_list() Ruboty::Chinachu::Actions::Reserves.new().call end |
#delete_reservation(message) ⇒ Object
53 54 55 |
# File 'lib/ruboty/handlers/chinachu.rb', line 53 def delete_reservation() Ruboty::Chinachu::Actions::Program.new().delete_reservation end |
#list_broadcasting(message) ⇒ Object
29 30 31 |
# File 'lib/ruboty/handlers/chinachu.rb', line 29 def list_broadcasting() Ruboty::Chinachu::Actions::Schedule.new().list_broadcasting end |
#list_channel(message) ⇒ Object
41 42 43 |
# File 'lib/ruboty/handlers/chinachu.rb', line 41 def list_channel() Ruboty::Chinachu::Actions::Schedule.new().list_channels end |
#list_recorded(message) ⇒ Object
37 38 39 |
# File 'lib/ruboty/handlers/chinachu.rb', line 37 def list_recorded() Ruboty::Chinachu::Actions::Recorded.new().call end |
#list_recording(message) ⇒ Object
33 34 35 |
# File 'lib/ruboty/handlers/chinachu.rb', line 33 def list_recording() Ruboty::Chinachu::Actions::Recording.new().call end |
#list_schedule(message) ⇒ Object
45 46 47 |
# File 'lib/ruboty/handlers/chinachu.rb', line 45 def list_schedule() Ruboty::Chinachu::Actions::Schedule.new().list_schedule end |
#reserve(message) ⇒ Object
49 50 51 |
# File 'lib/ruboty/handlers/chinachu.rb', line 49 def reserve() Ruboty::Chinachu::Actions::Program.new().reserve end |