Module: Zenoss::Model::DeviceResultInt
- Included in:
- Device
- Defined in:
- lib/zenoss/model/devices.rb
Instance Method Summary collapse
-
#device_class ⇒ Object
Return the DeviceClass object of this object.
-
#get_device_class_name ⇒ Object
Return the path of the device_class; everything after ‘/zport/dmd/Devices’.
-
#get_device_class_path ⇒ Object
Return the path of the device_class; everything after ‘/zport/dmd/Devices’.
Instance Method Details
#device_class ⇒ Object
Return the DeviceClass object of this object
40 41 42 |
# File 'lib/zenoss/model/devices.rb', line 40 def device_class @cache_vars[:device_class] ||= DeviceClass.new(get_device_class_name) end |
#get_device_class_name ⇒ Object
Return the path of the device_class; everything after ‘/zport/dmd/Devices’
30 31 32 |
# File 'lib/zenoss/model/devices.rb', line 30 def get_device_class_name @cache_vars[:device_class_name] ||= rest('getDeviceClassName') end |
#get_device_class_path ⇒ Object
Return the path of the device_class; everything after ‘/zport/dmd/Devices’
35 36 37 |
# File 'lib/zenoss/model/devices.rb', line 35 def get_device_class_path get_device_class_name end |