Sha256: 66ae2f417b4095ed829b220c3140d0a8bf6b8a5b10b43870855fd9cfeb1133f1

Contents?: true

Size: 324 Bytes

Versions: 6

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    class Configuration
      attr_accessor :adapter, :connection_open_timeout, :connection_timeout

      def initialize
        @adapter = Faraday.default_adapter
        @connection_open_timeout = 20
        @connection_timeout = 20
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/configuration.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/configuration.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/configuration.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/configuration.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/configuration.rb
telegram-bot-ruby-0.23.0 lib/telegram/bot/configuration.rb