lib/active_merchant/billing/gateways/paypal.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/paypal.rb in activemerchant-1.106.0
- old
+ new
@@ -53,10 +53,10 @@
reference_id = credit_card_or_referenced_id if transaction_type == 'DoReferenceTransaction'
billing_address = options[:billing_address] || options[:address]
currency_code = options[:currency] || currency(money)
- xml = Builder::XmlMarkup.new :indent => 2
+ xml = Builder::XmlMarkup.new indent: 2
xml.tag! transaction_type + 'Req', 'xmlns' => PAYPAL_NAMESPACE do
xml.tag! transaction_type + 'Request', 'xmlns:n2' => EBAY_NAMESPACE do
xml.tag! 'n2:Version', API_VERSION
xml.tag! 'n2:' + transaction_type + 'RequestDetails' do
xml.tag! 'n2:ReferenceID', reference_id if transaction_type == 'DoReferenceTransaction'