Module: Winker::Devices::SensorPod

Included in:
Winker::Device
Defined in:
lib/winker/devices/sensor_pod.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(obj) ⇒ Object



5
6
7
# File 'lib/winker/devices/sensor_pod.rb', line 5

def self.extended(obj)
  
end

Instance Method Details

#humidityObject



13
14
15
# File 'lib/winker/devices/sensor_pod.rb', line 13

def humidity
  @obj_data.last_reading.humidity
end

#tempObject



9
10
11
# File 'lib/winker/devices/sensor_pod.rb', line 9

def temp
  @obj_data.last_reading.temperature
end