struct PassKit::Style
- PassKit::Style
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
models/style.crConstructors
- .new(pull : JSON::PullParser)
- .new(auxiliary_fields : Array(FieldTuple) | Nil = nil, back_fields : Array(FieldTuple) | Nil = nil, header_fields : Array(FieldTuple) | Nil = nil, primary_fields : Array(FieldTuple) | Nil = nil, secondary_fields : Array(FieldTuple) | Nil = nil, transit_type : String | Nil = nil)
Instance Method Summary
- #auxiliary_fields : Array(Field) | Nil
- #auxiliary_fields=(auxiliary_fields : Array(Field) | Nil)
- #back_fields : Array(Field) | Nil
- #back_fields=(back_fields : Array(Field) | Nil)
- #header_fields : Array(Field) | Nil
- #header_fields=(header_fields : Array(Field) | Nil)
- #primary_fields : Array(Field) | Nil
- #primary_fields=(primary_fields : Array(Field) | Nil)
- #secondary_fields : Array(Field) | Nil
- #secondary_fields=(secondary_fields : Array(Field) | Nil)
- #transit_type : String | Nil
- #transit_type=(transit_type : String | Nil)
Constructor Detail
def self.new(auxiliary_fields : Array(FieldTuple) | Nil = nil, back_fields : Array(FieldTuple) | Nil = nil, header_fields : Array(FieldTuple) | Nil = nil, primary_fields : Array(FieldTuple) | Nil = nil, secondary_fields : Array(FieldTuple) | Nil = nil, transit_type : String | Nil = nil)
#