Class: Ruboty::Chinachu::Actions::Reserves
- Inherits:
-
Base
- Object
- Actions::Base
- Base
- Ruboty::Chinachu::Actions::Reserves
show all
- Defined in:
- lib/ruboty/chinachu/actions/reserves.rb
Constant Summary
Constants inherited
from Base
Base::PROGRAM_FORMAT
Instance Method Summary
collapse
Methods inherited from Base
#chinachu, #chinachu_options
Instance Method Details
#call ⇒ Object
6
7
8
|
# File 'lib/ruboty/chinachu/actions/reserves.rb', line 6
def call
message.reply(todays_reservation_list.map { |r| summary(r, PROGRAM_FORMAT) }.join("\n"), code: true)
end
|