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