lib/fog/brightbox/requests/compute/start_server.rb in fog-brightbox-0.9.0 vs lib/fog/brightbox/requests/compute/start_server.rb in fog-brightbox-0.10.0

- old
+ new

@@ -3,17 +3,19 @@ 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) + def start_server(identifier, options = {}) return nil if identifier.nil? || identifier == "" - wrapped_request("post", "/1.0/servers/#{identifier}/start", [202]) + wrapped_request("post", "/1.0/servers/#{identifier}/start", [202], options) end end end end end