Class: DcmgrResource::Image

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

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

.show(image_id) ⇒ Object



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

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