class

DoorCtrl::Door

Inherits DoorCtrl::Application < ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object

door control API

Constants

PARSER_LIST = ["application/json"]

door control API

RESPONDER_LIST = ["application/json"]

door control API

Class methods

base_route

Helper for obtaining base route

close_relay
Source
io_chip
Source
open_relay
Source
set_state(door : DoorState) : State
Source
status
Source
status(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)

Helper methods for performing redirect_to calls

Instance methods

base_route(*args, **options)

Helper for obtaining base route

base_route(*args, **options, &)

Helper for obtaining base route

set_state(door : DoorState) : State

change the state of the chicken door

Source
status

the current state of the chicken door

Source