Closed iamjohnford closed 6 years ago
Hey @iamjohnford
You're right, I messed up on that one.
1.0 is going to be a major overhaul on the REST API. One of the changes I will be making is passing snake_case named-parameters to the endpoint methods and then converting them to camelCase for the user. That way we can improve consistency throughout the codebase and lessen the amount of context switching.
I will make the changes in the code comments, but am really trying to minimize the amount of time i spend on the 0.x branch, since I see it as 'feature' complete and would now like to improve performance and user experience using the gem.
Fixed by release of 1.0 and changing from camelCase to snake_case keys for REST query option hashes.
I'm not sure if this is changing in the 1.0 branch but it seems like the
listen_key
parameter suggested in the comments needs to belistenKey
to work properly.Here's an example to reproduce: