Module: Resources::Project
- Included in:
- Onesky::Client
- Defined in:
- lib/onesky/resources/project.rb,
lib/onesky/resources/project/base.rb,
lib/onesky/resources/project/order.rb,
lib/onesky/resources/project/file_mgt.rb,
lib/onesky/resources/project/quotation.rb,
lib/onesky/resources/project/import_task.rb,
lib/onesky/resources/project/translation.rb
Defined Under Namespace
Modules: Base, FileMgt, ImportTask, Order, Quotation, Translation
Instance Method Summary
collapse
Instance Method Details
#create_project(project_group_id, params) ⇒ Object
8
9
10
|
# File 'lib/onesky/resources/project.rb', line 8
def create_project(project_group_id, params)
post("/project-groups/#{project_group_id}/projects", params)
end
|
#list_project(project_group_id) ⇒ Object
4
5
6
|
# File 'lib/onesky/resources/project.rb', line 4
def list_project(project_group_id)
get("/project-groups/#{project_group_id}/projects")
end
|
#project(project_id) ⇒ Object
12
13
14
|
# File 'lib/onesky/resources/project.rb', line 12
def project(project_id)
Onesky::Project.new(self, project_id)
end
|