3.0.0
A small but technically breaking change for anyone depending on the to_attributes
method. This fixes any nested objects to be properly deserialize, that were previously being left as PascalCase`
Fixes edge cases around MS dates that are stored as a negative epoch
- Fixes #150
Fixes nested serialization issues for objects returned using the to_attributes
method. This will lookup any nested models such as Invoices
-> LineItems
and ensure all the values are returned as the snake case.
to_attributes
calls to_hash(downcase: true)
but the default to_hash
still Pascal cases everything properly so that the POST's to the XeroAPI function as expected.
- Fixes #154