Method: ActiveMerchant::Billing::DLocalGateway#scrub
- Defined in:
- lib/active_merchant/billing/gateways/d_local.rb
#scrub(transcript) ⇒ Object
77 78 79 80 81 82 |
# File 'lib/active_merchant/billing/gateways/d_local.rb', line 77 def scrub(transcript) transcript. gsub(%r((X-Trans-Key: )\w+), '\1[FILTERED]'). gsub(%r((\"number\\\":\\\")\d+), '\1[FILTERED]'). gsub(%r((\"cvv\\\":\\\")\d+), '\1[FILTERED]') end |