Sha256: 1cc5f712014625651aaf63160e58f7441cd94a5b1c969648749c226c75e73d21
Contents?: true
Size: 615 Bytes
Versions: 9
Compression:
Stored size: 615 Bytes
Contents
module Fog module GoGrid class Compute class Real # Start, Stop or Restart a server # # ==== Parameters # * 'server'<~String> - id or name of server to power # * 'power'<~String> - power operation, in ['restart', 'start', 'stop'] # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # TODO: docs def grid_server_power(server, power) request( :path => 'grid/server/power', :query => {'server' => server} ) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems