Module: Resources::ProjectGroup
- Included in:
- Onesky::Client
- Defined in:
- lib/onesky/resources/project_group.rb
Instance Method Summary collapse
- #create_project_group(params) ⇒ Object
- #delete_project_group(project_group_id) ⇒ Object
- #list_project_group ⇒ Object
- #list_project_group_languages(project_group_id) ⇒ Object
- #show_project_group(project_group_id) ⇒ Object
Instance Method Details
#create_project_group(params) ⇒ Object
12 13 14 |
# File 'lib/onesky/resources/project_group.rb', line 12 def create_project_group(params) post('/project-groups', params) end |
#delete_project_group(project_group_id) ⇒ Object
16 17 18 |
# File 'lib/onesky/resources/project_group.rb', line 16 def delete_project_group(project_group_id) delete("/project-groups/#{project_group_id}") end |
#list_project_group ⇒ Object
4 5 6 |
# File 'lib/onesky/resources/project_group.rb', line 4 def list_project_group get('/project-groups') end |
#list_project_group_languages(project_group_id) ⇒ Object
20 21 22 |
# File 'lib/onesky/resources/project_group.rb', line 20 def list_project_group_languages(project_group_id) get("/project-groups/#{project_group_id}/languages") end |
#show_project_group(project_group_id) ⇒ Object
8 9 10 |
# File 'lib/onesky/resources/project_group.rb', line 8 def show_project_group(project_group_id) get("/project-groups/#{project_group_id}") end |