class Redd::Models::PrivateMessage
A private message
Public Instance Methods
delete()
click to toggle source
Delete the message from the user's inbox.
# File lib/redd/models/private_message.rb, line 15 def delete @client.post('/api/del_msg', id: get_attribute(:name)) end
Private Instance Methods
default_loader()
click to toggle source
# File lib/redd/models/private_message.rb, line 31 def default_loader # FIXME: This returns the entire conversation, not the specific message. Possible to search, # because depth of replies is just one. {} end