Module: Resources::Project::Base

Included in:
Onesky::Project
Defined in:
lib/onesky/resources/project/base.rb

Instance Method Summary collapse

Instance Method Details

#list_languageObject



17
18
19
# File 'lib/onesky/resources/project/base.rb', line 17

def list_language
  get("#{project_path}/languages")
end

#removeObject



13
14
15
# File 'lib/onesky/resources/project/base.rb', line 13

def remove
  delete(project_path)
end

#showObject



5
6
7
# File 'lib/onesky/resources/project/base.rb', line 5

def show
  get(project_path)
end

#update(params) ⇒ Object



9
10
11
# File 'lib/onesky/resources/project/base.rb', line 9

def update(params)
  put(project_path, params)
end