Class: Wemux::Pair::Commands::SetPowHost

Inherits:
Command
  • Object
show all
Defined in:
lib/wemux/pair/commands/set_pow_host.rb

Instance Method Summary collapse

Methods inherited from Command

#initialize, run

Constructor Details

This class inherits a constructor from Wemux::Pair::Commands::Command

Instance Method Details

#executeObject



7
8
9
10
11
# File 'lib/wemux/pair/commands/set_pow_host.rb', line 7

def execute
  return unless pow_host
  return unless pow_installed?
  write_pow_host
end