class CloudPayments::Namespaces::Tokens
Public Instance Methods
auth(attributes)
click to toggle source
# File lib/cloud_payments/namespaces/tokens.rb, line 10 def auth(attributes) response = request(:auth, attributes) Transaction.new(response[:model]) end
charge(attributes)
click to toggle source
# File lib/cloud_payments/namespaces/tokens.rb, line 5 def charge(attributes) response = request(:charge, attributes) Transaction.new(response[:model]) end