Module: Reddit::Voteable::InstanceMethods
- Defined in:
- lib/ruby_reddit_api/voteable.rb
Instance Method Summary collapse
-
#downvote ⇒ true, false
Downvote thing.
-
#upvote ⇒ true, false
Upvote thing.
Instance Method Details
#downvote ⇒ true, false
Downvote thing
17 18 19 |
# File 'lib/ruby_reddit_api/voteable.rb', line 17 def downvote Reddit::Vote.new(self).down end |
#upvote ⇒ true, false
Upvote thing
11 12 13 |
# File 'lib/ruby_reddit_api/voteable.rb', line 11 def upvote Reddit::Vote.new(self).up end |