Class: Nest::Thermostats

Inherits:
Object
  • Object
show all
Includes:
Collection
Defined in:
lib/nest/models/thermostats.rb

Instance Method Summary collapse

Instance Method Details

#allObject



6
7
8
9
# File 'lib/nest/models/thermostats.rb', line 6

def all
  data = cistern.["devices"]["thermostats"].map { |k,v| v }
  load(data)
end