earth-tone > Reddit-Client-1.079 > Reddit::Client::VotableThing

Download:
Reddit-Client-1.079.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  5
View/Report Bugs
Source  

NAME ^

Reddit::Client::VotableThing

DESCRIPTION ^

A Thing object, such as a Comment or Link, that may be voted on, commented against, hidden, or saved.

SUBROUTINES/METHODS ^

vote($direction)
comment($text)
save()
unsave()
hide()
unhide()

INTERNAL ROUTINES ^

set_likes

Conditionally sets the value of "likes" since it may validly be true, false, or neither, in the case of no vote being cast.

AUTHOR ^

Jeff Ober mailto:jeffober@gmail.com

LICENSE ^

BSD license

syntax highlighting: