Class: Onesky::Project
- Inherits:
-
Object
- Object
- Onesky::Project
- Includes:
- Helpers::Request, Resources::Project::Base, Resources::Project::FileMgt, Resources::Project::ImportTask, Resources::Project::Order, Resources::Project::Quotation, Resources::Project::Translation
- Defined in:
- lib/onesky/project.rb
Constant Summary
Constants included from Helpers::Request
Helpers::Request::ENDPOINT, Helpers::Request::VERSION
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
Instance Method Summary collapse
-
#initialize(client, id) ⇒ Project
constructor
A new instance of Project.
Methods included from Resources::Project::Order
#create_order, #list_order, #show_order
Methods included from Resources::Project::Quotation
Methods included from Resources::Project::ImportTask
#list_import_task, #show_import_task
Methods included from Resources::Project::Translation
#export_app_description, #export_multilingual, #export_translation, #get_translation_status
Methods included from Resources::Project::FileMgt
#delete_file, #list_file, #upload_file
Methods included from Resources::Project::Base
#list_language, #remove, #show, #update
Constructor Details
#initialize(client, id) ⇒ Project
Returns a new instance of Project.
22 23 24 25 26 27 |
# File 'lib/onesky/project.rb', line 22 def initialize(client, id) @client = client @project_id = id @plugin_code = client.plugin_code end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
20 21 22 |
# File 'lib/onesky/project.rb', line 20 def client @client end |
#project_id ⇒ Object
Returns the value of attribute project_id.
20 21 22 |
# File 'lib/onesky/project.rb', line 20 def project_id @project_id end |