lib/active_merchant/billing/gateways/nab_transact.rb in activemerchant-1.114.0 vs lib/active_merchant/billing/gateways/nab_transact.rb in activemerchant-1.116.0

- old
+ new

@@ -233,19 +233,17 @@ def commit(action, request) response = parse(ssl_post(test? ? self.test_url : self.live_url, build_request(action, request))) Response.new(success?(response), message_from(response), response, test: test?, - authorization: authorization_from(action, response) - ) + authorization: authorization_from(action, response)) end def commit_periodic(action, request) response = parse(ssl_post(test? ? self.test_periodic_url : self.live_periodic_url, build_periodic_request(action, request))) Response.new(success?(response), message_from(response), response, test: test?, - authorization: authorization_from(action, response) - ) + authorization: authorization_from(action, response)) end def success?(response) SUCCESS_CODES.include?(response[:response_code]) end