Class: CodaDocs::Entities::Categories

Inherits:
Entity
  • Object
show all
Defined in:
lib/coda_docs/entities/categories.rb

Instance Method Summary collapse

Methods inherited from Entity

#connection, #initialize, #parse_response

Constructor Details

This class inherits a constructor from CodaDocs::Entities::Entity

Instance Method Details

#allObject



4
5
6
7
# File 'lib/coda_docs/entities/categories.rb', line 4

def all
  response = connection.get('/categories')
  parse_response(response)
end