Closed jonathan-mui closed 13 years ago
I believe the problem is on line 10 of fitbit_client_wrapper.rb method_missing. "args" is passed instead of "*args".
_Original_ def method_missing(name, *args) @client.send(name, args) end
_Should be_ def method_missing(name, args) @client.send(name, args) end
I've tried it and it seems to fix the problem. Not sure if this introduces any new bugs though...
Thanks for the heads-up; sorry I didn't see this right away (had wrong email address on my gh account). I'll get this fixed.
I believe the problem is on line 10 of fitbit_client_wrapper.rb method_missing. "args" is passed instead of "*args".
_Original_ def method_missing(name, *args) @client.send(name, args) end
_Should be_ def method_missing(name, args) @client.send(name, args) end
I've tried it and it seems to fix the problem. Not sure if this introduces any new bugs though...