lib/frenetic/configuration.rb in frenetic-0.0.9 vs lib/frenetic/configuration.rb in frenetic-0.0.10
- old
+ new
@@ -5,10 +5,11 @@
class Frenetic
class Configuration
@@defaults = {
+ adapter: nil,
cache: nil,
url: nil,
username: nil,
password: nil,
headers: {
@@ -16,10 +17,10 @@
},
request: {},
response: {}
}
- attr_accessor :cache, :url, :username, :password
+ attr_accessor :adapter, :cache, :url, :username, :password
attr_accessor :headers, :request, :response, :middleware
def initialize( config = {} )
config = @@defaults.deep_merge( config.symbolize_keys )
\ No newline at end of file