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, options = {})
  fetch(:single, Model::Preauth, "preauths/#{id}", options)
end

#preauths(options = {}) ⇒ Object



5
6
7
# File 'lib/fidor_api/client/dsl/preauths.rb', line 5

def preauths(options = {})
  fetch(:collection, Model::Preauth, 'preauths', options)
end