Meridian::Runtime::AccessoryRef
Inherits JSON::Serializable < Struct < Value < Object
One service's reference to a host-local accessory. Two services naming the same accessory on the same host with the same fingerprint are referring to the same container; a differing fingerprint is a conflict.
Constructors
new(host : String | Nil, fingerprint : String | Nil, definition : Hash(String, String) = {} of String => String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
definition
The canonical field map the fingerprint is derived from, so a conflict can report which fields differ without reading another project's config.
fingerprint
nil on manifests written before schema 2, where the definition was not recorded. Never compares equal, so a stale manifest stays conservative.
host
Source