Class: TelegramMeetupBot::Commands::DateCommand
- Defined in:
- lib/telegram_meetup_bot/commands/date_command.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from TelegramMeetupBot::Commands::Base
Instance Method Details
#exec ⇒ Object
4 5 6 7 8 9 |
# File 'lib/telegram_meetup_bot/commands/date_command.rb', line 4 def exec handle_date(date) do Calendar.new(date: date, user: , time: time).add_user_to_date build_response(date: date) end end |