Class: TelegramMeetupBot::Commands::ListCommand
- Defined in:
- lib/telegram_meetup_bot/commands/list_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 10 11 |
# File 'lib/telegram_meetup_bot/commands/list_command.rb', line 4 def exec response = handle_date(date) do users = Calendar.formated_users_for_date(date) list_response(list: users, date: date) end [response, build_reply_markup] end |