Module: Radfish::Core::Power
- Defined in:
- lib/radfish/core/power.rb
Instance Method Summary collapse
- #power_cycle ⇒ Object
- #power_off ⇒ Object
- #power_on ⇒ Object
- #power_restart ⇒ Object
- #power_status ⇒ Object
- #reset_type_allowed ⇒ Object
Instance Method Details
#power_cycle ⇒ Object
22 23 24 |
# File 'lib/radfish/core/power.rb', line 22 def power_cycle raise NotImplementedError, "Adapter must implement #power_cycle" end |
#power_off ⇒ Object
14 15 16 |
# File 'lib/radfish/core/power.rb', line 14 def power_off raise NotImplementedError, "Adapter must implement #power_off" end |
#power_on ⇒ Object
10 11 12 |
# File 'lib/radfish/core/power.rb', line 10 def power_on raise NotImplementedError, "Adapter must implement #power_on" end |
#power_restart ⇒ Object
18 19 20 |
# File 'lib/radfish/core/power.rb', line 18 def power_restart raise NotImplementedError, "Adapter must implement #power_restart" end |
#power_status ⇒ Object
6 7 8 |
# File 'lib/radfish/core/power.rb', line 6 def power_status raise NotImplementedError, "Adapter must implement #power_status" end |
#reset_type_allowed ⇒ Object
26 27 28 |
# File 'lib/radfish/core/power.rb', line 26 def reset_type_allowed raise NotImplementedError, "Adapter must implement #reset_type_allowed" end |