module Spree::API::Client::CreditCards

Public Instance Methods

authorize_credit_card(options={}) click to toggle source

NOTE- requires ID of already existing Spree::CreditCard

# File lib/spree-api-client/credit_cards.rb, line 14
def authorize_credit_card(options={})
  post('credit_cards/authorize', options)
end
credit_card(id, options={}) click to toggle source
# File lib/spree-api-client/credit_cards.rb, line 5
def credit_card(id, options={})
  get("credit_cards/#{id}", options)
end
credit_cards(options={}) click to toggle source
# File lib/spree-api-client/credit_cards.rb, line 9
def credit_cards(options={})
  get('credit_cards', options)["credit_cards"]
end