Method: ActiveMerchant::Billing::WebpayGateway#add_customer
- Defined in:
- lib/active_merchant/billing/gateways/webpay.rb
#add_customer(post, creditcard, options) ⇒ Object
40 41 42 |
# File 'lib/active_merchant/billing/gateways/webpay.rb', line 40 def add_customer(post, creditcard, ) post[:customer] = [:customer] if [:customer] && !creditcard.respond_to?(:number) end |