struct PassKit::Beacon
- PassKit::Beacon
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
models/beacon.crConstructors
- .new(pull : JSON::PullParser)
- .new(attributes : BeaconTuple)
- .new(proximity_uuid : String, major : UInt16 | Nil = nil, minor : UInt16 | Nil = nil, relevant_text : Nil | String = nil)
Instance Method Summary
- #major : UInt16 | Nil
- #major=(major : UInt16 | Nil)
- #minor : UInt16 | Nil
- #minor=(minor : UInt16 | Nil)
- #proximity_uuid : String
- #proximity_uuid=(proximity_uuid : String)
- #relevant_text : String | Nil
- #relevant_text=(relevant_text : String | Nil)
Constructor Detail
def self.new(proximity_uuid : String, major : UInt16 | Nil = nil, minor : UInt16 | Nil = nil, relevant_text : Nil | String = nil)
#