[Ruby] allow encode json options to be an object that responds to to_hash (#9513)
* allow encode json options to be an object that responds to to_hash fixes #9500 * try to convert options arg to hash if it is not a hashpull/9588/head
parent
92cdf87f1a
commit
24a0659f95
3 changed files with 17 additions and 2 deletions
Loading…
Reference in new issue