lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.106.0
- old
+ new
@@ -107,11 +107,11 @@
Response.new(success,
success ?
TRANSACTION_APPROVED_MSG :
TRANSACTION_DECLINED_MSG,
response,
- :test => test?
+ test: test?
)
else
build_error_response(message, response)
end
rescue ResponseError => e
@@ -142,10 +142,10 @@
def build_error_response(message, params={})
Response.new(
false,
message,
params,
- :test => test?
+ test: test?
)
end
end
end
end