class Onesky::Project

Attributes

client[RW]
project_id[RW]

Public Class Methods

new(client, id) click to toggle source
# File lib/onesky/project.rb, line 22
def initialize(client, id)
  @client = client
  @project_id = id

  @plugin_code = client.plugin_code
end

Private Instance Methods

auth_hash() click to toggle source
# File lib/onesky/project.rb, line 35
def auth_hash
  @client.auth_hash
end
project_path() click to toggle source
# File lib/onesky/project.rb, line 31
def project_path
  "/projects/#{@project_id}"
end