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, options)
  post[:customer] = options[:customer] if options[:customer] && !creditcard.respond_to?(:number)
end