struct PassKit::Style

Included Modules

Defined in:

models/style.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def auxiliary_fields : Array(Field) | Nil #

[View source]
def auxiliary_fields=(auxiliary_fields : Array(Field) | Nil) #

[View source]
def back_fields : Array(Field) | Nil #

[View source]
def back_fields=(back_fields : Array(Field) | Nil) #

[View source]
def header_fields : Array(Field) | Nil #

[View source]
def header_fields=(header_fields : Array(Field) | Nil) #

[View source]
def primary_fields : Array(Field) | Nil #

[View source]
def primary_fields=(primary_fields : Array(Field) | Nil) #

[View source]
def secondary_fields : Array(Field) | Nil #

[View source]
def secondary_fields=(secondary_fields : Array(Field) | Nil) #

[View source]
def transit_type : String | Nil #

[View source]
def transit_type=(transit_type : String | Nil) #

[View source]