class Netatmo::Weather::RainGauge

Attributes

rain[RW]

Public Class Methods

new(data) click to toggle source

DeviceType: NAModule3

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

  self.rain = DashboardData::Rain.new(data['dashboard_data'])
end