class Netatmo::Weather::WindGauge

Attributes

wind[RW]

Public Class Methods

new(data) click to toggle source

DeviceType: NAModule2

Calls superclass method Netatmo::Weather::BatteryDevice::new
# File lib/netatmo/weather/wind_gauge.rb, line 9
def initialize(data)
  super(data)

  self.wind = DashboardData::Wind.new(data['dashboard_data'])
end