On Sun Apr 05 20:00:57 2015, coderman9@gmail.com wrote:
Show quoted text> Hey,
> In the docs for Reddit::Client it says that is vote function is as such:
> vote(item_id => ..., direction => ...)
> Votes for "item_id". "direction" is one of "VOTE_UP", "VOTE_DOWN", or
> "VOTE_NONE"
> The actual way to make the function work is like this
> vote($item_id, Reddit::Client::VOTE_UP)
> (or whichever direction desired).
> Cheers,
> Ben
I've added a comment under the CONSTANTS header that the constants are not exported. It will go out with the next release.
--
-Jeff Ober