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

- old
+ new

@@ -180,11 +180,11 @@ } end def build_request(action, post) mode = action == 'void' ? 'cancel' : 'get' - xml = Builder::XmlMarkup.new :indent => 18 - xml.instruct!(:xml, :version => '1.0', :encoding => 'utf-8') + xml = Builder::XmlMarkup.new indent: 18 + xml.instruct!(:xml, version: '1.0', encoding: 'utf-8') xml.tag!("#{mode}Authorization") do post.each do |field, value| xml.tag!(field, value) end end