Class: Rupower::LineAc

Inherits:
PowerDevice show all
Defined in:
lib/rupower.rb

Constant Summary collapse

METHODS =
[:native_path, :power_supply, :updated, :has_history, :has_statistics, :online]

Instance Method Summary collapse

Methods inherited from PowerDevice

#get_all, #initialize

Constructor Details

This class inherits a constructor from Rupower::PowerDevice

Instance Method Details

#refreshObject



86
87
88
# File 'lib/rupower.rb', line 86

def refresh
  @state = @command.line_ac
end