xero-ruby icon indicating copy to clipboard operation
xero-ruby copied to clipboard

When where contains values with underscores, those will be incorrectly changed when calling to_param

Open mentalic opened this issue 3 years ago • 0 comments

For example, when searching for items with where (where: ["Code.ToUpper() == "ITEM_WITH_UNDERSCORE""]) will be changed to ITEMWITHUNDERSCORE https://github.com/XeroAPI/xero-ruby/blob/53f0118dab4ecaf73d0f2edb3248fbc42fdc2ba0/lib/xero-ruby/api_client.rb#L666

mentalic avatar Jul 27 '22 04:07 mentalic