Module: Unit::ResourceOperations::Find::ClassMethods
- Defined in:
- lib/unit-ruby/util/resource_operations.rb
Instance Method Summary collapse
Instance Method Details
#find(id) ⇒ Object
9 10 11 12 13 |
# File 'lib/unit-ruby/util/resource_operations.rb', line 9 def find(id) located_resource = connection.get(resource_path(id)) build_resource_from_json_api(located_resource) end |