Class: DcmgrResource::HostPool

Inherits:
Base
  • Object
show all
Defined in:
app/models/dcmgr_resource/host_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/host_pool.rb', line 3

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

.show(host_pool_id) ⇒ Object



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

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