module Redd::Objects::Thing::Hideable
Things that can be hidden from the user.
Public Instance Methods
hide()
click to toggle source
Hide a link from the user.
# File lib/redd/objects/thing/hideable.rb, line 7 def hide post('/api/hide', id: fullname) end
unhide()
click to toggle source
Unhide a previously hidden link.
# File lib/redd/objects/thing/hideable.rb, line 12 def unhide post('/api/unhide', id: fullname) end