Sha256: 525fc0039125c86688bf0032dc2b2d6498b85a903b3563f29dcf1b3f33c73ba7
Contents?: true
Size: 553 Bytes
Versions: 55
Compression:
Stored size: 553 Bytes
Contents
module Fog module Compute class OpenStack class Real def list_volumes(detailed=true) path = detailed ? 'os-volumes/detail' : 'os-volumes' request( :expects => 200, :method => 'GET', :path => path ) end end class Mock def list_volumes(detailed=true) Excon::Response.new( :body => { 'volumes' => self.data[:volumes].values }, :status => 200 ) end end end end end
Version data entries
55 entries across 55 versions & 3 rubygems