lib/telegram/bot/client.rb in telegram-bot-ruby-0.4.1 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.4.2
- old
+ new
@@ -2,10 +2,11 @@
module Bot
class Client
TIMEOUT_EXCEPTIONS = [Timeout::Error]
TIMEOUT_EXCEPTIONS << Net::ReadTimeout if Net.const_defined?(:ReadTimeout)
- attr_reader :api, :offset, :timeout, :logger
+ attr_reader :api, :offset, :timeout
+ attr_accessor :logger
def self.run(*args, &block)
new(*args).run(&block)
end