class PayU::CreditCard
Constants
- ENDPOINT
Public Instance Methods
create_url()
click to toggle source
# File lib/pay_u/credit_card.rb, line 30 def create_url raise StandardError, "Missing customer id" unless customer_id "#{PayU::Customer::ENDPOINT}/#{customer_id}/creditCards" end
to_params()
click to toggle source
# File lib/pay_u/credit_card.rb, line 17 def to_params { name: name, document: document, number: number, expMonth: exp_month, expYear: exp_year, type: type, address: address, } end