struct

PassKit::Field

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(attributes : FieldTuple)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

attributed_value
Source
attributed_value=(attributed_value : FieldValue | Nil)
Source
change_message

TODO - add validation for inclusion of %@

Source
change_message=(change_message : String | Nil)

TODO - add validation for inclusion of %@

Source
data_detector_types
Source
data_detector_types=(data_detector_types : Array(String) | Nil)
Source
key=(key : String)
Source
label
Source
label=(label : String | Nil)
Source
text_alignment
Source
text_alignment=(text_alignment : String | Nil)
Source
value
Source
value=(value : FieldValue)
Source