Class: Scalarium::App
Instance Method Summary
collapse
Methods inherited from Resource
#id, #initialize
Methods included from Api
#get, #post
Instance Method Details
#deploy! ⇒ Object
4
5
6
|
# File 'lib/scalarium/app.rb', line 4
def deploy!
post("applications/#{id}/deploy", :command => 'deploy')
end
|
#deploy_info(deploy_id) ⇒ Object
8
9
10
|
# File 'lib/scalarium/app.rb', line 8
def deploy_info(deploy_id)
get("applications/#{id}/deployments/#{deploy_id}")
end
|
#deploys ⇒ Object
12
13
14
|
# File 'lib/scalarium/app.rb', line 12
def deploys
get("applications/#{id}/deployments")
end
|