Method: Joyent::Machine#stop

Defined in:
lib/joyent/machine.rb

#stopObject



21
22
23
# File 'lib/joyent/machine.rb', line 21

def stop
  @connection.execute(:post, "/machines/#{self.id}", {"action" => "stop"})
end