Sha256: 05eb35836e3f815cef4228414328dcc0c8f9ad3a10175fbab788126316ffa577

Contents?: true

Size: 587 Bytes

Versions: 5

Compression:

Stored size: 587 Bytes

Contents

# frozen_string_literal: true

require 'virtus'
require 'logger'
require 'json'
require 'faraday'
require 'faraday/multipart'

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

5 entries across 5 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.23.0 lib/telegram/bot.rb
telegram-bot-ruby-0.22.0 lib/telegram/bot.rb
telegram-bot-ruby-0.21.1 lib/telegram/bot.rb
telegram-bot-ruby-0.21.0 lib/telegram/bot.rb
telegram-bot-ruby-0.20.0 lib/telegram/bot.rb