Module: TelegramBotApi

Defined in:
lib/telegram_bot_api.rb,
lib/telegram_bot_api/client.rb,
lib/telegram_bot_api/message.rb,
lib/telegram_bot_api/version.rb,
lib/telegram_bot_api/http_client.rb,
lib/telegram_bot_api/configuration.rb,
lib/telegram_bot_api/requests/base.rb,
lib/telegram_bot_api/requests/set_webhook.rb,
lib/telegram_bot_api/requests/send_message.rb

Defined Under Namespace

Modules: Requests Classes: Client, Configuration, HttpClient, Message

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



13
14
15
# File 'lib/telegram_bot_api.rb', line 13

def configuration
  @configuration
end

Class Method Details

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

Yields:



16
17
18
# File 'lib/telegram_bot_api.rb', line 16

def self.configure
  yield(configuration)
end