lib/alma/config.rb in alma-0.2.8 vs lib/alma/config.rb in alma-0.3.1
- old
+ new
@@ -7,14 +7,18 @@
self.configuration ||= Configuration.new
yield(configuration) if block_given?
end
class Configuration
- attr_accessor :apikey, :region
+ attr_accessor :apikey, :region, :enable_loggable
+ attr_accessor :timeout, :http_retries, :logger
def initialize
@apikey = "TEST_API_KEY"
@region = 'https://api-na.hosted.exlibrisgroup.com'
+ @enable_loggable = false
+ @timeout = 5
+ @http_retries = 3
+ @logger = Logger.new(STDOUT)
end
-
end
-end
\ No newline at end of file
+end