Module: LingutestClient::Api::Operations::Find::ClassMethods

Defined in:
lib/lingutest_client/api/operations/find.rb

Instance Method Summary collapse

Instance Method Details

#find(id) ⇒ Object



8
9
10
# File 'lib/lingutest_client/api/operations/find.rb', line 8

def find(id)
  new(Client.get("#{resource_url}/#{id}").body[self::OBJECT_NAME])
end