lib/active_merchant/billing/gateways/net_registry.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/net_registry.rb in activemerchant-1.137.0

- old
+ new

@@ -142,11 +142,15 @@ # omitted if nil. 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)) + Response.new( + response['status'] == 'approved', + message_from(response), + response, + authorization: authorization_from(response, action) + ) end def post_data(action, params) params['COMMAND'] = TRANSACTIONS[action] params['LOGIN'] = "#{@options[:login]}/#{@options[:password]}"