Module: Redd::Thing::Moderatable

Included in:
Object::Comment, Object::Submission
Defined in:
lib/redd/thing/moderatable.rb

Instance Method Summary collapse

Instance Method Details

#approveObject



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_reportsObject



22
23
24
# File 'lib/redd/thing/moderatable.rb', line 22

def ignore_reports
  client.ignore_reports(self)
end

#removeObject



10
11
12
# File 'lib/redd/thing/moderatable.rb', line 10

def remove
  client.remove(self)
end

#undistinguishObject



18
19
20
# File 'lib/redd/thing/moderatable.rb', line 18

def undistinguish
  client.undistinguish(self)
end

#unignore_reportsObject



26
27
28
# File 'lib/redd/thing/moderatable.rb', line 26

def unignore_reports
  client.unignore_reports(self)
end