Hello Guys,
I'm doing some Rails integration with Postmark Inbound at the moment, and one bone of contention at the moment is related to casing of attribute names.
According to best practice, Rails apps are built on snake_casing for it's attribute names, all lowercase and underscores for spaces.
However, the inbound JSON from postmark is CamelCased.
This means that I'm unable to use handy features like mass-assignment within the webhook to populate an active record with the inbound information as Rails is unable to pair 'From' with 'from' etc.
Is anyone able to offer a suggestion on how they're dealing with this?
Thanks,
Rob