Sha256: 3a84853d6e75440f146ae2fe5bf9cf8f991e7bc3ec3695394eb51925b6ce0c26

Contents?: true

Size: 369 Bytes

Versions: 12

Compression:

Stored size: 369 Bytes

Contents

module Fog
  module Compute
  	class OracleCloud
	    class Volumes < Fog::Collection

	    	model Fog::Compute::OracleCloud::Volume
				
				def all
					data = service.list_volumes().body['result']
					load(data)
				end

 				def get(name)
          data = service.get_volume(name).body
          new(data)
        end
	    end
	  end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.12 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.11 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.10 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.9 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.8 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.7 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.6 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.5 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.4 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.3 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.2 lib/fog/oraclecloud/models/compute/volumes.rb
fog-oraclecloud-0.1.1 lib/fog/oraclecloud/models/compute/volumes.rb