class App

Attributes

test[RW]

Public Instance Methods

run() click to toggle source
# File lib/app.rb, line 6
def run
  test = JSONThermostat.new(20.0, 20.0, 1)
  test.set_wanted(20.0)
  test.update_current(20.0)
  test.set_airco
  test.set_heating
end