lib/active_merchant/billing/gateways/eway.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/eway.rb in activemerchant-1.84.0
- old
+ new
@@ -62,9 +62,10 @@
gsub(%r((<ewayCardNumber>)\d+(</ewayCardNumber>))i, '\1[FILTERED]\2').
gsub(%r((<ewayCVN>)\d+(</ewayCVN>))i, '\1[FILTERED]\2')
end
private
+
def requires_address!(options)
raise ArgumentError.new('Missing eWay required parameters: address or billing_address') unless (options.has_key?(:address) or options.has_key?(:billing_address))
end
def add_creditcard(post, creditcard)