lib/creditsafe/authenticate.rb in creditsafe_connect-0.1.4 vs lib/creditsafe/authenticate.rb in creditsafe_connect-0.1.5
- old
+ new
@@ -30,10 +30,10 @@
@connection ||= Faraday.new(url: api_url) do |conn|
conn.headers.merge!(
content_type: 'application/json',
user_agent: "finpoint/#{Creditsafe::VERSION}"
)
- conn.response :multi_json, symbolize_keys: true
+ conn.response :json, parser_options: { symbolize_names: true }
conn.response :logger if Creditsafe.configuration.debug
conn.adapter Faraday.default_adapter
end
end
end