Module: Redd::Thing::Moderatable
- Included in:
- Object::Comment, Object::Submission
- Defined in:
- lib/redd/thing/moderatable.rb
Instance Method Summary collapse
- #approve ⇒ Object
- #distinguish(how = :yes) ⇒ Object
- #ignore_reports ⇒ Object
- #remove ⇒ Object
- #undistinguish ⇒ Object
- #unignore_reports ⇒ Object
Instance Method Details
#approve ⇒ Object
6 7 8 |
# File 'lib/redd/thing/moderatable.rb', line 6 def approve client.approve(self) end |
#distinguish(how = :yes) ⇒ Object
14 15 16 |
# File 'lib/redd/thing/moderatable.rb', line 14 def distinguish(how = :yes) client.distinguish(self, how) end |
#ignore_reports ⇒ Object
22 23 24 |
# File 'lib/redd/thing/moderatable.rb', line 22 def ignore_reports client.ignore_reports(self) end |
#remove ⇒ Object
10 11 12 |
# File 'lib/redd/thing/moderatable.rb', line 10 def remove client.remove(self) end |
#undistinguish ⇒ Object
18 19 20 |
# File 'lib/redd/thing/moderatable.rb', line 18 def undistinguish client.undistinguish(self) end |
#unignore_reports ⇒ Object
26 27 28 |
# File 'lib/redd/thing/moderatable.rb', line 26 def unignore_reports client.unignore_reports(self) end |