Update client.Field.map_fields
to produce more idomatic ruby method names from attributes
#428
Labels
Enhancement
Enhancements to existing features
The existing implementation will create method names that have capital letters or multiple underscores in a row. See an example in the code comments below.
Consider using the below implementation.
This would be a backward incompatible change for users who depend on the existing
client.Field.map_fields
behavior.I wanted to make a note of my code here but didn't have time for a full PR with tests. Figured I'd make a note of it here and get feedback before investing in tests.
The text was updated successfully, but these errors were encountered: