Method: Lights#request_sensor_info

Defined in:
lib/lights.rb

#request_sensor_info(id) ⇒ Object



94
95
96
97
# File 'lib/lights.rb', line 94

def request_sensor_info( id )
  response = get "sensors/#{id}"
  Sensor.new(id,response)
end