lib/active_merchant/billing/gateways/monei.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/monei.rb in activemerchant-1.137.0
- old
+ new
@@ -335,10 +335,10 @@
def commit(request, action, options)
url = (test? ? test_url : live_url)
endpoint = translate_action_endpoint(action, options)
headers = {
'Content-Type': 'application/json;charset=UTF-8',
- 'Authorization': @options[:api_key],
+ Authorization: @options[:api_key],
'User-Agent': 'MONEI/Shopify/0.1.0'
}
response = api_request(url + endpoint, params(request, action), headers)
success = success_from(response)