Open cbou opened 8 years ago
There is currently an error in the Streak API when calling stages. It returns a JSON object and not an array.
https://www.streak.com/api/#stage
I can't find a way how to iterate through all stages.
It's supposed to return an object as you can see in their example json output.
I would suggest converting everything into a hash and then using the appropriate hash iterators.
https://docs.ruby-lang.org/en/2.0.0/Hash.html#method-i-each
There is currently an error in the Streak API when calling stages. It returns a JSON object and not an array.
https://www.streak.com/api/#stage
I can't find a way how to iterate through all stages.