module Wemo

Constants

NAMESPACE
VERSION

Public Class Methods

off(name) click to toggle source
# File lib/wemo.rb, line 11
def self.off(name)
  Wemo::Switch.send_command(name, 'off')
end
on(name) click to toggle source
# File lib/wemo.rb, line 7
def self.on(name)
  Wemo::Switch.send_command(name, 'on')
end
status(name) click to toggle source
# File lib/wemo.rb, line 15
def self.status(name)
  Wemo::Switch.status(name)
end