Module: FidorApi::Client::DSL::Cards
- Defined in:
- lib/fidor_api/client/dsl/cards.rb
Instance Method Summary collapse
Instance Method Details
#card(id, options = {}) ⇒ Object
9 10 11 |
# File 'lib/fidor_api/client/dsl/cards.rb', line 9 def card(id, = {}) fetch(:single, Model::Card, "/cards/#{id}", ) end |
#cards(options = {}) ⇒ Object
5 6 7 |
# File 'lib/fidor_api/client/dsl/cards.rb', line 5 def cards( = {}) fetch(:collection, Model::Card, '/cards', ) end |