Module: BWAPI::Client::Projects::Group::AuthorGroup
- Included in:
- BWAPI::Client::Projects::Group
- Defined in:
- lib/bwapi/client/projects/group/author_group.rb
Overview
AuthorGroup module for projects/group/author endpoints
Instance Method Summary collapse
-
#author_groups_summary(project_id, opts = {}) ⇒ Hashie::Mash
Get summary of all author groups in project.
-
#create_author_group(project_id, opts = {}) ⇒ Hashie::Mash
Create a new author group in project.
-
#delete_author_group(project_id, author_group_id) ⇒ Hashie::Mash
Delete an existing author group project.
-
#get_author_group(project_id, author_group_id) ⇒ Hashie::Mash
(also: #author_group)
Get a specific author group in project.
-
#update_author_group(project_id, author_group_id, opts = {}) ⇒ Hashie::Mash
Update an existing author group in project.
Instance Method Details
#author_groups_summary(project_id, opts = {}) ⇒ Hashie::Mash
Get summary of all author groups in project
11 12 13 |
# File 'lib/bwapi/client/projects/group/author_group.rb', line 11 def project_id, opts={} get "projects/#{project_id}/group/author/summary", opts end |
#create_author_group(project_id, opts = {}) ⇒ Hashie::Mash
Create a new author group in project
35 36 37 |
# File 'lib/bwapi/client/projects/group/author_group.rb', line 35 def project_id, opts={} post "projects/#{project_id}/group/author", opts end |
#delete_author_group(project_id, author_group_id) ⇒ Hashie::Mash
Delete an existing author group project
60 61 62 |
# File 'lib/bwapi/client/projects/group/author_group.rb', line 60 def project_id, delete "projects/#{project_id}/group/author/#{}" end |
#get_author_group(project_id, author_group_id) ⇒ Hashie::Mash Also known as:
Get a specific author group in project
20 21 22 |
# File 'lib/bwapi/client/projects/group/author_group.rb', line 20 def project_id, get "projects/#{project_id}/group/author/#{}" end |
#update_author_group(project_id, author_group_id, opts = {}) ⇒ Hashie::Mash
Update an existing author group in project
51 52 53 |
# File 'lib/bwapi/client/projects/group/author_group.rb', line 51 def project_id, , opts={} put "projects/#{project_id}/group/author/#{}", opts end |