Class: SimpleDeployer::Command::Server
Instance Method Summary
collapse
#initialize
Instance Method Details
#main ⇒ Object
4
5
6
7
|
# File 'lib/simple_deployer/commands/server.rb', line 4
def main
get_server
p @service.server_status(@server_id)
end
|
#reboot ⇒ Object
10
11
12
13
|
# File 'lib/simple_deployer/commands/server.rb', line 10
def reboot
get_server
p @service.reboot_server(@server_id)
end
|
#terminate ⇒ Object
16
17
18
19
|
# File 'lib/simple_deployer/commands/server.rb', line 16
def terminate
get_server
p @service.terminate_server(@server_id)
end
|