Class: Sensibo::SetDeviceState

Inherits:
Object
  • Object
show all
Includes:
Request
Defined in:
lib/sensibo/requests/set_device_state.rb

Instance Method Summary collapse

Instance Method Details

#real(id, body) ⇒ Object



4
5
6
# File 'lib/sensibo/requests/set_device_state.rb', line 4

def real(id, body)
  cistern.request(:post, "/pods/#{id}/acStates", body: body)
end