lib/active_merchant/billing/gateways/net_registry.rb in activemerchant-1.114.0 vs lib/active_merchant/billing/gateways/net_registry.rb in activemerchant-1.116.0
- old
+ new
@@ -143,11 +143,10 @@
def commit(action, params)
# get gateway response
response = parse(ssl_post(self.live_url, post_data(action, params)))
Response.new(response['status'] == 'approved', message_from(response), response,
- authorization: authorization_from(response, action)
- )
+ authorization: authorization_from(response, action))
end
def post_data(action, params)
params['COMMAND'] = TRANSACTIONS[action]
params['LOGIN'] = "#{@options[:login]}/#{@options[:password]}"