class Netatmo::Weather::IndoorModule
Attributes
co2[RW]
humidity[RW]
temperature[RW]
Public Class Methods
new(data)
click to toggle source
DeviceType: NAModule4
Calls superclass method
Netatmo::Weather::BatteryDevice::new
# File lib/netatmo/weather/indoor_module.rb, line 9 def initialize(data) super(data) self.co2 = DashboardData::CO2.new(data['dashboard_data']) self.humidity = DashboardData::Humidity.new(data['dashboard_data']) self.temperature = DashboardData::Temperature.new(data['dashboard_data']) end