Class: Tinybucket::Api::ProjectsApi
- Includes:
- Helper::ProjectsHelper
- Defined in:
- lib/tinybucket/api/projects_api.rb
Constant Summary
Constants included from Connection
Connection::DEFAULT_USER_AGENT
Instance Attribute Summary collapse
-
#owner ⇒ Object
Returns the value of attribute owner.
Instance Method Summary collapse
Methods included from Connection
#caching?, #clear_cache, #connection
Instance Attribute Details
#owner ⇒ Object
Returns the value of attribute owner.
7 8 9 |
# File 'lib/tinybucket/api/projects_api.rb', line 7 def owner @owner end |
Instance Method Details
#find(project_key, options = {}) ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/tinybucket/api/projects_api.rb', line 17 def find(project_key, = {}) get_path( path_to_find(owner, project_key), , get_parser(:object, Tinybucket::Model::Project) ) end |
#list(options = {}) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/tinybucket/api/projects_api.rb', line 9 def list( = {}) get_path( path_to_list(owner), , get_parser(:collection, Tinybucket::Model::Project) ) end |