Sha256: 4c1625e50b17b1bc02377a13d8cec3ad41b50ceb5422104e57f5a76a4c1779a4
Contents?: true
Size: 730 Bytes
Versions: 1
Compression:
Stored size: 730 Bytes
Contents
module Fog module Linode class Compute class Real # Issues a shutdown, and then a boot job for a given linode # # ==== Parameters # * linode_id<~Integer>: id of linode to reboot # * options<~Hash>: # * configId<~Boolean>: id of config to boot server with # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # TODO: docs def linode_reboot(linode_id, options={}) request( :expects => 200, :method => 'GET', :query => { :api_action => 'linode.reboot', :linodeId => linode_id }.merge!(options) ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-0.8.2 | lib/fog/compute/requests/linode/linode_reboot.rb |