lib/active_merchant/billing/gateways/cashnet.rb in activemerchant-1.85.0 vs lib/active_merchant/billing/gateways/cashnet.rb in activemerchant-1.86.0
- old
+ new
@@ -58,13 +58,13 @@
def supports_scrubbing?
true
end
def scrub(transcript)
- transcript
- .gsub(%r{(password=)[^&]+}, '\1[FILTERED]')
- .gsub(%r{(cardno=)[^&]+}, '\1[FILTERED]')
- .gsub(%r{(cid=)[^&]+}, '\1[FILTERED]')
+ transcript.
+ gsub(%r{(password=)[^&]+}, '\1[FILTERED]').
+ gsub(%r{(cardno=)[^&]+}, '\1[FILTERED]').
+ gsub(%r{(cid=)[^&]+}, '\1[FILTERED]')
end
private
def commit(action, money, fields)