Module: Redd::Thing::Saveable

Included in:
Object::Submission
Defined in:
lib/redd/thing/saveable.rb

Instance Method Summary collapse

Instance Method Details

#save(category = nil) ⇒ Object



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

def save(category = nil)
  client.save(self, category)
end

#unsaveObject



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

def unsave
  client.unsave(self)
end