coorasse/passkit

Transit type for boarding pass

Closed this issue · 1 comments

Getting this: Pass dictionary must contain key 'transitType'. Even though I set in def boarding pass. My thinking is that it is getting overridden by:

pass[@pass.pass_type] = {
headerFields: @pass.header_fields,
primaryFields: @pass.primary_fields,
secondaryFields: @pass.secondary_fields,
auxiliaryFields: @pass.auxiliary_fields,
backFields: @pass.back_fields
}