lib/ldclient-rb/requestor.rb in launchdarkly-server-sdk-6.3.4 vs lib/ldclient-rb/requestor.rb in launchdarkly-server-sdk-6.4.0
- old
+ new
@@ -29,11 +29,11 @@
@cache = @config.cache_store
end
def request_all_data()
all_data = JSON.parse(make_request("/sdk/latest-all"), symbolize_names: true)
- Impl::Model.make_all_store_data(all_data)
+ Impl::Model.make_all_store_data(all_data, @config.logger)
end
def stop
begin
@http_client.close
@@ -42,10 +42,10 @@
end
private
def request_single_item(kind, path)
- Impl::Model.deserialize(kind, make_request(path))
+ Impl::Model.deserialize(kind, make_request(path), @config.logger)
end
def make_request(path)
uri = URI(@config.base_uri + path)
headers = {}