Open joecabezas opened 6 years ago
so it seems like in code: https://github.com/checkr/stasche/blob/5828241757ae7dde03cb3b56414c3e7c36e63cf3/lib/stasche/client.rb#L34-L40
both values
, and options
are positional arguments that both of them are expected to be hashes, this is why Stasche.set(joe_rules_backtest: 1, force: true)
does nto work .and it needs to separate the arguments using brackets like:
Stasche.set({joe_rules_backtest: 1}, {force: true})
hope this is useful to anyone in the future, for now I added a spec to include this case:
related PR: https://github.com/checkr/stasche/pull/25
what I am missing?