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
5 6 7
# File 'lib/fidor_api/client/dsl/preauths.rb', line 5 def preauths(options = {}) fetch(:collection, Model::Preauth, 'preauths', options) end