Sha256: a6a228721fc3aadc68a935a98d5d479db0bf80418a409af5c2b47a9490d6374f
Contents?: true
Size: 665 Bytes
Versions: 15
Compression:
Stored size: 665 Bytes
Contents
module Fog module Brightbox class Compute class Real # Get full details of the volume. # # @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 # def get_volume(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("get", "/1.0/volumes/#{identifier}", [200], options) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems