Method: CloudPayments::Namespaces::Tokens#charge

Defined in:
lib/cloud_payments/namespaces/tokens.rb

#charge(attributes) ⇒ Object



5
6
7
8
# File 'lib/cloud_payments/namespaces/tokens.rb', line 5

def charge(attributes)
  response = request(:charge, attributes)
  Transaction.new(response[:model])
end