Class: Payjp::Card
- Inherits:
-
APIResource
- Object
- PayjpObject
- APIResource
- Payjp::Card
- Defined in:
- lib/payjp/card.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from APIOperations::List
Methods included from APIOperations::Delete
Methods included from APIOperations::Update
Methods included from APIOperations::Create
Methods inherited from APIResource
Methods included from APIOperations::Request
Methods inherited from PayjpObject
#[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #serialize_nested_object, serialize_params, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Payjp::PayjpObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Payjp::PayjpObject
Class Method Details
.retrieve(_id, _opts = nil) ⇒ Object
14 15 16 |
# File 'lib/payjp/card.rb', line 14 def self.retrieve(_id, _opts = nil) raise NotImplementedError.new("Cards cannot be retrieved without a customer ID. Retrieve a card using customer.cards.retrieve('card_id')") end |