Module: Radfish::Core::Power

Defined in:
lib/radfish/core/power.rb

Instance Method Summary collapse

Instance Method Details

#power_cycleObject

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/radfish/core/power.rb', line 22

def power_cycle
  raise NotImplementedError, "Adapter must implement #power_cycle"
end

#power_offObject

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/radfish/core/power.rb', line 14

def power_off
  raise NotImplementedError, "Adapter must implement #power_off"
end

#power_onObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/radfish/core/power.rb', line 10

def power_on
  raise NotImplementedError, "Adapter must implement #power_on"
end

#power_restartObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/radfish/core/power.rb', line 18

def power_restart
  raise NotImplementedError, "Adapter must implement #power_restart"
end

#power_statusObject

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/radfish/core/power.rb', line 6

def power_status
  raise NotImplementedError, "Adapter must implement #power_status"
end

#reset_type_allowedObject

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/radfish/core/power.rb', line 26

def reset_type_allowed
  raise NotImplementedError, "Adapter must implement #reset_type_allowed"
end