jsboulanger / streak-ruby

Ruby bindings for the Streak API (streak.com)
MIT License
10 stars 21 forks source link

StreakObject attr accessors #9

Open lancecarlson opened 6 years ago

lancecarlson commented 6 years ago

I may be missing something here, but when dealing with fields (and notes) when pulling from the Box API, I get back on object that stuffs all the values in a @values instance variable. That's great, but I don't see any method for accessing that data, so I've resorted to instance_variable_get (reminds me of the all rails days). Am I going crazy here or should this be refactored somehow?