struct

PassKit::Beacon

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(attributes : BeaconTuple)
Source
new(proximity_uuid : String, major : UInt16 | Nil = nil, minor : UInt16 | Nil = nil, relevant_text : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

major
Source
major=(major : UInt16 | Nil)
Source
minor
Source
minor=(minor : UInt16 | Nil)
Source
proximity_uuid
Source
proximity_uuid=(proximity_uuid : String)
Source
relevant_text
Source
relevant_text=(relevant_text : String | Nil)
Source