Module: Telegram::BotManager

Defined in:
lib/telegram/bot_manager.rb,
lib/telegram/bot_manager/view.rb,
lib/telegram/bot_manager/logger.rb,
lib/telegram/bot_manager/message.rb,
lib/telegram/bot_manager/version.rb,
lib/telegram/bot_manager/localizer.rb,
lib/telegram/bot_manager/controller.rb,
lib/telegram/bot_manager/application.rb,
lib/telegram/bot_manager/configuration.rb,
lib/telegram/bot_manager/callback_query.rb,
lib/telegram/bot_manager/bot_class_methods.rb,
lib/telegram/bot_manager/bot_configuration.rb

Defined Under Namespace

Modules: BotClassMethods Classes: Application, BotConfiguration, BotLogger, CallbackQuery, Configuration, Controller, Localizer, Logger, Message, View

Constant Summary collapse

VERSION =
'0.1.2'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



22
23
24
# File 'lib/telegram/bot_manager.rb', line 22

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



29
30
31
# File 'lib/telegram/bot_manager.rb', line 29

def self.configure
  yield(configuration)
end

.gem_versionObject



8
9
10
# File 'lib/telegram/bot_manager/version.rb', line 8

def self.gem_version
  Gem::Version.new VERSION
end