lib/gnip_api/configuration.rb in gnip_api-0.0.6 vs lib/gnip_api/configuration.rb in gnip_api-0.0.7
- old
+ new
@@ -1,10 +1,11 @@
module GnipApi
class Configuration
- attr_accessor :user, :password, :adapter_class, :account, :logger, :source, :label
+ attr_accessor :user, :password, :adapter_class, :account, :logger, :source, :label, :request_timeout
def initialize
@adapter_class = GnipApi::Adapters::HTTPartyAdapter
@logger = Logger.new('tmp/gnip_api.log')
+ @request_timeout = 60
end
end
end