Class: Ropian::Control::APC
- Defined in:
- lib/ropian/control/apc.rb
Constant Summary
Constants inherited from Generic
Instance Method Summary collapse
Methods inherited from Generic
#initialize, #inspect, #reboot, #set_state, #turn_off, #turn_on
Constructor Details
This class inherits a constructor from Ropian::Control::Generic
Instance Method Details
#base_oid ⇒ Object
4 5 6 |
# File 'lib/ropian/control/apc.rb', line 4 def base_oid @base_oid ||= SNMP::ObjectId.new('1.3.6.1.4.1.318.1.1.12.3.3.1.1.4') end |
#state_order ⇒ Object
7 8 9 |
# File 'lib/ropian/control/apc.rb', line 7 def state_order @state_order ||= [nil, :on, :off, :reboot] end |