lib/active_merchant/billing/gateways/maxipago.rb in activemerchant-1.79.2 vs lib/active_merchant/billing/gateways/maxipago.rb in activemerchant-1.80.0
- old
+ new
@@ -96,11 +96,11 @@
test? ? self.test_url : self.live_url
end
def build_xml_request(action)
builder = Nokogiri::XML::Builder.new(encoding: 'UTF-8')
- builder.send("transaction-request") do |xml|
+ builder.send('transaction-request') do |xml|
xml.version '3.1.1.15'
xml.verification do
xml.merchantId @options[:login]
xml.merchantKey @options[:password]
end
@@ -125,10 +125,10 @@
def authorization_from(response)
"#{response[:order_id]}|#{response[:transaction_id]}"
end
def split_authorization(authorization)
- authorization.split("|")
+ authorization.split('|')
end
def parse(body)
xml = REXML::Document.new(body)