struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

compatible_with?(other : AccessoryRef) : Bool
Source
definition

The canonical field map the fingerprint is derived from, so a conflict can report which fields differ without reading another project's config.

Source
fingerprint

nil on manifests written before schema 2, where the definition was not recorded. Never compares equal, so a stale manifest stays conservative.

Source
host
Source