struct

Commander::AutomationResponse

Inherits JSON::Serializable < Struct < Value < Object

Constructors

error(message : String, snapshot : AppSnapshot | Nil = nil) : AutomationResponse
Source
new(ok : Bool, status_text : String, snapshot : AppSnapshot, error : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
snapshot(snapshot : AppSnapshot) : AutomationResponse
Source

Instance methods

error
Source
snapshot
Source
status_text
Source