Module: Toolhound::Client::Projects
- Included in:
- Toolhound::Client
- Defined in:
- lib/toolhound-ruby/client/projects.rb
Overview
Methods for the Projects API
Instance Method Summary collapse
-
#project(project, options = {}) ⇒ Sawyer::Resource
Get a single project.
-
#projects(options = {}) ⇒ Array<Sawyer::Resource>
List projects.
Instance Method Details
#project(project, options = {}) ⇒ Sawyer::Resource
Get a single project
24 25 26 |
# File 'lib/toolhound-ruby/client/projects.rb', line 24 def project(project, = {}) # get "#{project_path(project)}", options end |
#projects(options = {}) ⇒ Array<Sawyer::Resource>
Note:
Shows a list of projects for the users organization aka account
List projects
13 14 15 16 |
# File 'lib/toolhound-ruby/client/projects.rb', line 13 def projects( = {}) # paginate "projects", options end |