Jeff Ober > Reddit-Client-0.04_02 > Reddit::Client::VotableThing

Download:
Reddit-Client-0.04_02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: Reddit-Client-0.7

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: