lib/active_merchant/billing/gateways/card_connect.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/card_connect.rb in activemerchant-1.137.0
- old
+ new
@@ -144,12 +144,15 @@
commit('profile', post)
end
def unstore(authorization, options = {})
account_id, profile_id = authorization.split('|')
- commit('profile', {},
+ commit(
+ 'profile',
+ {},
verb: :delete,
- path: "/#{profile_id}/#{account_id}/#{@options[:merchant_id]}")
+ path: "/#{profile_id}/#{account_id}/#{@options[:merchant_id]}"
+ )
end
def supports_scrubbing?
true
end