PassKit::Field
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(attributes : FieldTuple)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
attributed_value
Sourceattributed_value=(attributed_value : FieldValue | Nil)
Sourcedata_detector_types
Sourcedata_detector_types=(data_detector_types : Array(String) | Nil)
Sourcekey
Sourcekey=(key : String)
Sourcelabel
Sourcelabel=(label : String | Nil)
Sourcetext_alignment
Sourcetext_alignment=(text_alignment : String | Nil)
Sourcevalue
Sourcevalue=(value : FieldValue)
Source