Sha256: 781015794f2f6a4adf11886fa554124e1baa292f0254dbb5dc6a22b1999cc04d
Contents?: true
Size: 760 Bytes
Versions: 4
Compression:
Stored size: 760 Bytes
Contents
module Fog module Volume class HuaweiCloud module Real def get_volume_type_details(volume_type_id) request( :expects => 200, :method => 'GET', :path => "types/#{volume_type_id}" ) end end module Mock def get_volume_type_details(_volume_type_id) response = Excon::Response.new response.status = 200 response.body = { "volume_type" => { "id" => "1", "name" => "type 1", "extra_specs" => { "volume_backend_name" => "type 1 backend name" } } } response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems