lib/ebay/merchandising.rb in ebay-ruby-0.3.4 vs lib/ebay/merchandising.rb in ebay-ruby-0.3.5

- old
+ new

@@ -88,9 +88,9 @@ 'OPERATION-NAME' => operation, 'REQUEST-DATA-FORMAT' => 'JSON', 'RESPONSE-DATA-FORMAT' => response_data_format, 'SERVICE-VERSION' => service_version }.compact - http.post(endpoint, params: params, body: JSON.dump(payload)) + http.headers(headers).post(endpoint, params: params, body: JSON.dump(payload)) end end end