Module: Hue

Defined in:
lib/alexa_hue/hue_switch.rb

Defined Under Namespace

Classes: Device, SSDP, Switch

Class Method Summary collapse

Class Method Details

.devices(options = {}) ⇒ Object



16
17
18
# File 'lib/alexa_hue/hue_switch.rb', line 16

def devices(options = {})
  SSDP.new(options).devices
end

.first(options = {}) ⇒ Object



20
21
22
23
# File 'lib/alexa_hue/hue_switch.rb', line 20

def first(options = {})
  options = options.merge(:first => true)
  SSDP.new(options).devices
end