Sha256: 8491218dbbf4fbc5e0d0ba8515e8d90ea413747e06a7182b015becd8d3b52f25

Contents?: true

Size: 528 Bytes

Versions: 20

Compression:

Stored size: 528 Bytes

Contents

require 'virtus'
require 'logger'
require 'json'
require 'faraday'

require 'telegram/bot/types'
require 'telegram/bot/exceptions'
require 'telegram/bot/api'
require 'telegram/bot/null_logger'
require 'telegram/bot/client'
require 'telegram/bot/version'
require 'telegram/bot/configuration'

module Telegram
  module Bot
    class << self
      attr_writer :configuration
    end

    def self.configuration
      @configuration ||= Configuration.new
    end

    def self.configure
      yield(configuration)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.18.0 lib/telegram/bot.rb
telegram-bot-ruby-0.17.0 lib/telegram/bot.rb
telegram-bot-ruby-0.16.0 lib/telegram/bot.rb
telegram-bot-ruby-0.8.3 lib/telegram/bot.rb
telegram-bot-ruby-0.8.2 lib/telegram/bot.rb
telegram-bot-ruby-0.8.1 lib/telegram/bot.rb
telegram-bot-ruby-0.8.0 lib/telegram/bot.rb
telegram-bot-ruby-0.7.2 lib/telegram/bot.rb
telegram-bot-ruby-0.7.1 lib/telegram/bot.rb
telegram-bot-ruby-0.7.0 lib/telegram/bot.rb
telegram-bot-ruby-0.6.0.2 lib/telegram/bot.rb
telegram-bot-ruby-0.6.0.1 lib/telegram/bot.rb
telegram-bot-ruby-0.5.3 lib/telegram/bot.rb
telegram-bot-ruby-0.5.2 lib/telegram/bot.rb
telegram-bot-ruby-0.5.1 lib/telegram/bot.rb
telegram-bot-ruby-0.5.0 lib/telegram/bot.rb
telegram-bot-ruby-0.5.0.beta4 lib/telegram/bot.rb
telegram-bot-ruby-0.5.0.beta3 lib/telegram/bot.rb
telegram-bot-ruby-0.5.0.beta2 lib/telegram/bot.rb
telegram-bot-ruby-0.5.0.beta1 lib/telegram/bot.rb