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