lib/fog/brightbox/requests/compute/create_image.rb in fog-1.11.1 vs lib/fog/brightbox/requests/compute/create_image.rb in fog-1.12.0
- old
+ new
@@ -13,10 +13,11 @@
# @option options [String] :username Username for the image
# @option options [Boolean] :public
# @option options [Boolean] :compatibility_mode
# @option options [String] :description
#
- # @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/#image_create_image
#
def create_image(options)
wrapped_request("post", "/1.0/images", [201], options)