Sha256: b2d0e0cfbe9fd7fc741881dda9a4efba3c75819301230f5761c1d913bece6382

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    class Configuration
      attr_accessor :adapter, :open_timeout, :timeout

      def initialize
        @adapter = Faraday.default_adapter
        @open_timeout = 20
        @timeout = 20
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.22.0 lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.21.1 lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.21.0 lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.20.0 lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.19.2 lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.19.1 lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.19.0 lib/telegram/bot/configuration.rb