Class: Telegram::BotManager::BotConfiguration
- Inherits:
-
Object
- Object
- Telegram::BotManager::BotConfiguration
- Defined in:
- lib/telegram/bot_manager/bot_configuration.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#bot ⇒ Object
Returns the value of attribute bot.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#localizer ⇒ Object
Returns the value of attribute localizer.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ BotConfiguration
constructor
A new instance of BotConfiguration.
Constructor Details
#initialize ⇒ BotConfiguration
Returns a new instance of BotConfiguration.
14 15 16 17 18 19 20 |
# File 'lib/telegram/bot_manager/bot_configuration.rb', line 14 def initialize @app_name = nil @locale = nil @localizer = nil @logger = BotLogger.new(@app_name) @bot = nil end |
Instance Attribute Details
#app_name ⇒ Object
Returns the value of attribute app_name.
7 8 9 |
# File 'lib/telegram/bot_manager/bot_configuration.rb', line 7 def app_name @app_name end |
#bot ⇒ Object
Returns the value of attribute bot.
7 8 9 |
# File 'lib/telegram/bot_manager/bot_configuration.rb', line 7 def bot @bot end |
#locale ⇒ Object
Returns the value of attribute locale.
7 8 9 |
# File 'lib/telegram/bot_manager/bot_configuration.rb', line 7 def locale @locale end |
#localizer ⇒ Object
Returns the value of attribute localizer.
7 8 9 |
# File 'lib/telegram/bot_manager/bot_configuration.rb', line 7 def localizer @localizer end |
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/telegram/bot_manager/bot_configuration.rb', line 7 def logger @logger end |