-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transit type for boarding pass #29
Comments
annaswims
added a commit
to omahazoo/passkit
that referenced
this issue
May 16, 2024
Pass.Coupon, Pass.EventTicket, Pass.EventTicket, and Pass.Generic don't have any additional feilds availabe so we don't need to provide methods for additional feilds. boardingPass was being overwritten by the additonal feild method, now fixed. resolves coorasse#29
coorasse
added a commit
that referenced
this issue
May 28, 2024
* fix Pass object additional feilds Pass.Coupon, Pass.EventTicket, Pass.EventTicket, and Pass.Generic don't have any additional feilds availabe so we don't need to provide methods for additional feilds. boardingPass was being overwritten by the additonal feild method, now fixed. resolves #29 * Update lib/passkit/generator.rb Co-authored-by: Alessandro Rodi <coorasse@gmail.com> --------- Co-authored-by: Alessandro Rodi <coorasse@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
}
The text was updated successfully, but these errors were encountered: