lib/restful_resource/base.rb in restful_resource-1.4.1 vs lib/restful_resource/base.rb in restful_resource-1.4.2
- old
+ new
@@ -4,17 +4,19 @@
def self.configure(base_url: nil,
username: nil,
password: nil,
logger: nil,
- cache_store: nil)
+ cache_store: nil,
+ instrumentation: {})
@base_url = URI.parse(base_url)
@http = RestfulResource::HttpClient.new(username: username,
password: password,
logger: logger,
- cache_store: cache_store)
+ cache_store: cache_store,
+ instrumentation: instrumentation)
end
def self.resource_path(url)
@resource_path = url
end