Module: Redd::Thing::Inboxable

Included in:
Object::Comment, Object::PrivateMessage
Defined in:
lib/redd/thing/inboxable.rb

Instance Method Summary collapse

Instance Method Details

#mark_as_readObject



6
7
8
# File 'lib/redd/thing/inboxable.rb', line 6

def mark_as_read
  client.mark_as_read(self)
end

#mark_as_unreadObject



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

def mark_as_unread
  client.mark_as_unread(self)
end

#reply(text) ⇒ Object



14
15
16
# File 'lib/redd/thing/inboxable.rb', line 14

def reply(text)
  client.add_comment(self, text)
end