Module: FatZebra::APIOperation::Find::ClassMethods
- Defined in:
- lib/fat_zebra/api_operation/find.rb
Instance Method Summary collapse
-
#find(id, params = {}, options = {}) ⇒ FatZebra::Object
Find an API Resource.
Instance Method Details
#find(id, params = {}, options = {}) ⇒ FatZebra::Object
Find an API Resource
19 20 21 22 |
# File 'lib/fat_zebra/api_operation/find.rb', line 19 def find(id, params = {}, = {}) response = request(:get, "#{resource_path}/#{id}", params, ) initialize_from(response) end |