Sha256: 09df4bd1fed8419bdc3d6e7b0ffe5327a3bc67dc62c44c89ec66e4a2e0434087
Contents?: true
Size: 555 Bytes
Versions: 12
Compression:
Stored size: 555 Bytes
Contents
module Fog module Compute class Brightbox class Real # Get full details of the image. # # @param [String] identifier Unique reference to identify the resource # # @return [Hash] The JSON response parsed to a Hash # # @see https://api.gb1.brightbox.com/1.0/#image_get_image # def get_image(identifier) return nil if identifier.nil? || identifier == "" wrapped_request("get", "/1.0/images/#{identifier}", [200]) end end end end end
Version data entries
12 entries across 12 versions & 5 rubygems