Method: ColumnApi::EntityResource#retrieve

Defined in:
lib/column_api/resources/entity_resource.rb

#retrieve(entity_id:) ⇒ Object



13
14
15
# File 'lib/column_api/resources/entity_resource.rb', line 13

def retrieve(entity_id:)
  EntityResource.from_response get_request("entities/#{entity_id}").body
end