lib/fog/brightbox/requests/compute/create_server.rb in fog-1.11.1 vs lib/fog/brightbox/requests/compute/create_server.rb in fog-1.12.0
- old
+ new
@@ -12,10 +12,11 @@
# @option options [String] :server_type
# @option options [String] :zone Zone in which to create new Server
# @option options [String] :user_data
# @option options [Array] :server_groups Array of server groups to add server to
#
- # @return [Hash, nil] The JSON response parsed to a Hash or nil if no options passed
+ # @return [Hash] if successful Hash version of JSON object
+ # @return [NilClass] if no options were passed
#
# @see https://api.gb1.brightbox.com/1.0/#server_create_server
#
def create_server(options)
wrapped_request("post", "/1.0/servers", [202], options)