Sha256: 17cb1178234c48caa41ee12a1dce87c95e0bcaa46cc53e4d675d72733712f24a
Contents?: true
Size: 782 Bytes
Versions: 13
Compression:
Stored size: 782 Bytes
Contents
module Fog module Compute class Brightbox class Real # Will issue a start request for the server to become active. # # @param [String] identifier Unique reference to identify the resource # @param [Hash] options # @option options [Boolean] :nested passed through with the API request. When true nested resources are expanded. # # @return [Hash] if successful Hash version of JSON object # # @see https://api.gb1.brightbox.com/1.0/#server_start_server # def start_server(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("post", "/1.0/servers/#{identifier}/start", [202], options) end end end end end
Version data entries
13 entries across 11 versions & 2 rubygems