Class: DcmgrResource::StoragePool

Inherits:
Base
  • Object
show all
Defined in:
app/models/dcmgr_resource/storage_pool.rb

Class Method Summary collapse

Methods inherited from Base

get_resource_state_count, set_debug, total_resource

Class Method Details

.list(params = {}) ⇒ Object



3
4
5
# File 'app/models/dcmgr_resource/storage_pool.rb', line 3

def self.list(params = {})
  self.find(:all,:params => params)
end

.show(storage_pool_id) ⇒ Object



7
8
9
# File 'app/models/dcmgr_resource/storage_pool.rb', line 7

def self.show(storage_pool_id)
  self.get(storage_pool_id)
end