Sha256: 0429aa7668837ef2214253558e082529a8bb96c481e2231b2a9d0823233fcc06
Contents?: true
Size: 916 Bytes
Versions: 3
Compression:
Stored size: 916 Bytes
Contents
# ## Projects # # Provides access to projects resoource and other nested resources # # #### Fetch all projects # `GET /projects.json` # # client.projects! # # #### Fetch archived projects # `GET /projects/archived.json` # # clients.projects.archived! # # #### Fetch single project with ID of 123 # `GET /projects/123.json` # # client.projects!(123) # # #### Create a project # `POST /projects.json` # # client.projects.create!(name: 'Acme project', description: 'This is a new project') # # #### Update an existing project # `PUT /projects/123.json` # # client.projects(123).update!(description: 'A new description') # # #### Delete a project # `DELETE /projects/123.json` # # client.projects(123).delete! # module Bcx module Resources class Project < Rapidash::Base resource :todolists resource :todos resource :accesses collection :archived end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bcx-0.3.0 | lib/bcx/resources/project.rb |
bcx-0.2.1 | lib/bcx/resources/project.rb |
bcx-0.2.0 | lib/bcx/resources/project.rb |