PassKit::Beacon
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(attributes : BeaconTuple)
Sourcenew(proximity_uuid : String, major : UInt16 | Nil = nil, minor : UInt16 | Nil = nil, relevant_text : Nil | String = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
major
Sourcemajor=(major : UInt16 | Nil)
Sourceminor
Sourceminor=(minor : UInt16 | Nil)
Sourceproximity_uuid
Sourceproximity_uuid=(proximity_uuid : String)
Sourcerelevant_text
Sourcerelevant_text=(relevant_text : String | Nil)
Source