lib/mrkt/concerns/connection.rb in mrkt-1.2.1 vs lib/mrkt/concerns/connection.rb in mrkt-1.2.2

- old
+ new

@@ -10,10 +10,10 @@ ::Faraday.new(options) do |conn| conn.request :multipart conn.request :url_encoded conn.response :logger, @logger, (@log_options || {}) if @debug - conn.response :mkto, content_type: /\bjson$/ + conn.response :mkto, content_type: /\bjson$/, parser_options: { symbolize_names: true } conn.options.timeout = @options[:read_timeout] if @options.key?(:read_timeout) conn.options.open_timeout = @options[:open_timeout] if @options.key?(:open_timeout) conn.adapter @options.fetch(:adapter, ::Faraday.default_adapter)