Sha256: 18afc07f81f02b6f5609eb348efc7cb1103e16e26509783dcea7035a585e19ed
Contents?: true
Size: 421 Bytes
Versions: 6
Compression:
Stored size: 421 Bytes
Contents
module Stripe class Card < APIResource include Stripe::APIOperations::Update include Stripe::APIOperations::Delete def url "#{Customer.url}/#{CGI.escape(customer)}/cards/#{CGI.escape(id)}" end def self.retrieve(id, api_key=nil) raise NotImplementedError.new("Cards cannot be retrieved without a customer ID. Retrieve a card using customer.cards.retrieve('card_id')") end end end
Version data entries
6 entries across 6 versions & 1 rubygems