lib/telegram/bot/configuration.rb in telegram-bot-ruby-0.18.0 vs lib/telegram/bot/configuration.rb in telegram-bot-ruby-0.19.0

- old
+ new

@@ -1,11 +1,15 @@ +# frozen_string_literal: true + module Telegram module Bot class Configuration - attr_accessor :adapter + attr_accessor :adapter, :open_timeout, :timeout def initialize @adapter = Faraday.default_adapter + @open_timeout = 20 + @timeout = 20 end end end end