module Bcx
module Resources
class Project < Rapidash::Base
resource :todolists
resource :todos
resource :accesses
resource :comments
collection :archived
end
end
end
Provides access to projects resoource and other nested resources
GET /projects.json
client.projects!
GET /projects/archived.json
clients.projects.archived!
GET /projects/123.json
client.projects!(123)
POST /projects.json
client.projects.create!(name: 'Acme project', description: 'This is a new project')
PUT /projects/123.json
client.projects(123).update!(description: 'A new description')
DELETE /projects/123.json
client.projects(123).delete!
module Bcx
module Resources
class Project < Rapidash::Base
resource :todolists
resource :todos
resource :accesses
resource :comments
collection :archived
end
end
end