lib/active_merchant/billing/gateways/instapay.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/instapay.rb in activemerchant-1.106.0
- old
+ new
@@ -139,12 +139,12 @@
def commit(action, parameters)
data = ssl_post self.live_url, post_data(action, parameters)
response = parse(data)
Response.new(response[:success], response[:message], response,
- :authorization => response[:transaction_id],
- :avs_result => { :code => response[:avs_result] },
- :cvv_result => response[:cvv_result]
+ authorization: response[:transaction_id],
+ avs_result: { code: response[:avs_result] },
+ cvv_result: response[:cvv_result]
)
end
def post_data(action, parameters = {})
post = {}