Class: Telegram::BotManager::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram/bot_manager/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



12
13
14
15
16
# File 'lib/telegram/bot_manager/configuration.rb', line 12

def initialize
  @controller_logging = true
  @show_config_message = true
  @telegram_app_owner_id = nil
end

Instance Attribute Details

#controller_loggingObject

Returns the value of attribute controller_logging.



7
8
9
# File 'lib/telegram/bot_manager/configuration.rb', line 7

def controller_logging
  @controller_logging
end

#show_config_messageObject

Returns the value of attribute show_config_message.



7
8
9
# File 'lib/telegram/bot_manager/configuration.rb', line 7

def show_config_message
  @show_config_message
end

#telegram_app_owner_idObject

Returns the value of attribute telegram_app_owner_id.



7
8
9
# File 'lib/telegram/bot_manager/configuration.rb', line 7

def telegram_app_owner_id
  @telegram_app_owner_id
end