Class: Nova::API::Resource::Card
- Inherits:
-
CurrentAsset
- Object
- Dry::Struct
- Utils::BaseStruct
- Base
- CurrentAsset
- Nova::API::Resource::Card
- Defined in:
- lib/nova/api/resource/card.rb
Defined Under Namespace
Classes: Tax
Constant Summary collapse
- ALLOWED_ATTRIBUTES =
%i[]
Constants inherited from Base
Base::PRODUCTION_HOST, Base::SCHEME, Base::STAGING_HOST
Constants inherited from Utils::BaseStruct
Class Method Summary collapse
Methods inherited from CurrentAsset
#endpoint, #statement, statement
Methods inherited from Base
Methods inherited from Utils::BaseStruct
Class Method Details
.endpoint ⇒ Object
46 47 48 |
# File 'lib/nova/api/resource/card.rb', line 46 def self.endpoint '/api/cards' end |
.list(parameters = {}) ⇒ Object
50 51 52 |
# File 'lib/nova/api/resource/card.rb', line 50 def self.list(parameters = {}) do_get_search(endpoint, parameters.to_h) end |