lib/active_merchant/billing/gateways/iridium.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/iridium.rb in activemerchant-1.101.0

- old
+ new

@@ -340,12 +340,10 @@ end def add_customerdetails(xml, creditcard, address, options, shipTo = false) xml.tag! 'CustomerDetails' do if address - unless address[:country].blank? - country_code = Country.find(address[:country]).code(:numeric) - end + country_code = Country.find(address[:country]).code(:numeric) unless address[:country].blank? xml.tag! 'BillingAddress' do xml.tag! 'Address1', address[:address1] xml.tag! 'Address2', address[:address2] xml.tag! 'City', address[:city] xml.tag! 'State', address[:state]