Class: TelegramMeetupBot::Initializers::ResponsesLoader

Inherits:
Base
  • Object
show all
Defined in:
lib/telegram_meetup_bot/initializers/responses_loader.rb

Constant Summary collapse

FILE_NAME =
'responses.yml'
AVAILABLE_KEYS =
%w(date list cancel wrong_date_format old_date nobody
not_subscribed no_username help cal)

Class Method Summary collapse

Methods inherited from Base

exit_if_file_not_exist, preload, validate

Class Method Details

.responsesObject



8
9
10
# File 'lib/telegram_meetup_bot/initializers/responses_loader.rb', line 8

def self.responses
  @configurations
end