lib/active_merchant/billing/gateways/netbanx.rb in activemerchant-1.107.4 vs lib/active_merchant/billing/gateways/netbanx.rb in activemerchant-1.108.0
- old
+ new
@@ -220,10 +220,10 @@
)
end
def get_url(uri)
url = (test? ? test_url : live_url)
- if uri =~ /^customervault/
+ if /^customervault/.match?(uri)
"#{url}#{uri}"
else
"#{url}cardpayments/v1/accounts/#{@options[:account_number]}/#{uri}"
end
end