Sha256: f2f0dc5780b7a8683cccf47dc500df72a9c1b4879265ad12711a9dc908212887
Contents?: true
Size: 735 Bytes
Versions: 23
Compression:
Stored size: 735 Bytes
Contents
module Fog module Brightbox class Compute class Real # Destroy the image. # # @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/#image_delete_image # def delete_image(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("delete", "/1.0/images/#{identifier}", [202], options) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems