lib/active_merchant/billing/gateways/axcessms.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/axcessms.rb in activemerchant-1.106.0

- old
+ new

@@ -70,12 +70,12 @@ success = (response[:result] == 'ACK') message = "#{response[:reason]} - #{response[:return]}" authorization = response[:unique_id] Response.new(success, message, response, - :authorization => authorization, - :test => (response[:mode] != 'LIVE') + authorization: authorization, + test: (response[:mode] != 'LIVE') ) end def parse(body) return {} if body.blank? @@ -101,10 +101,10 @@ response[node.name.underscore.to_sym] = node.text end end def build_request(payment_code, money, payment, options) - xml = Builder::XmlMarkup.new :indent => 2 + xml = Builder::XmlMarkup.new indent: 2 xml.instruct! xml.tag! 'Request', 'version' => API_VERSION do xml.tag! 'Header' do xml.tag! 'Security', 'sender' => @options[:sender] end