Sha256: f5813fa06c501adb4a0a325ef43a7b261035324dd3c724bd35ffaf9ba4798ee3
Contents?: true
Size: 549 Bytes
Versions: 21
Compression:
Stored size: 549 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
21 entries across 21 versions & 4 rubygems