Class: Onesky::Project

Constant Summary

Constants included from Helpers::Request

Helpers::Request::ENDPOINT, Helpers::Request::VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Resources::Project::Order

#create_order, #list_order, #show_order

Methods included from Resources::Project::Quotation

#show_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

#clientObject

Returns the value of attribute client.



20
21
22
# File 'lib/onesky/project.rb', line 20

def client
  @client
end

#project_idObject

Returns the value of attribute project_id.



20
21
22
# File 'lib/onesky/project.rb', line 20

def project_id
  @project_id
end