Sha256: dce07ccd01267eb4205dc4e757c4094118561d2698bc2e68f098c96beb294a6b

Contents?: true

Size: 547 Bytes

Versions: 15

Compression:

Stored size: 547 Bytes

Contents

require 'virtus'
require 'inflecto'
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

15 entries across 15 versions & 2 rubygems

Version Path
telegram-bot-ruby-0.15.0 lib/telegram/bot.rb
telegram-bot-ruby-0.14.0 lib/telegram/bot.rb
telegram-bot-ruby-0.13.0 lib/telegram/bot.rb
telegram-bot-ruby-0.12.0 lib/telegram/bot.rb
telegram-bot-ruby-0.11.0 lib/telegram/bot.rb
telegram-bot-ruby-0.10.1 lib/telegram/bot.rb
telegram-bot-ruby-0.10.0 lib/telegram/bot.rb
telegram-bot-ruby-0.9.1 lib/telegram/bot.rb
telegram-bot-ruby-0.9.0 lib/telegram/bot.rb
dialog_bot_ruby-0.8.8 lib/telegram/bot.rb
dialog_bot_ruby-0.8.7 lib/telegram/bot.rb
telegram-bot-ruby-0.8.6.1 lib/telegram/bot.rb
telegram-bot-ruby-0.8.6 lib/telegram/bot.rb
telegram-bot-ruby-0.8.5 lib/telegram/bot.rb
telegram-bot-ruby-0.8.4 lib/telegram/bot.rb