Module: The86::Client::CanBeHidden

Included in:
Conversation, Post
Defined in:
lib/the86-client/can_be_hidden.rb

Instance Method Summary collapse

Instance Method Details

#hide(attributes = {}) ⇒ Object



4
5
6
# File 'lib/the86-client/can_be_hidden.rb', line 4

def hide(attributes = {})
  set_hidden(true, attributes)
end

#unhide(attributes = {}) ⇒ Object



8
9
10
# File 'lib/the86-client/can_be_hidden.rb', line 8

def unhide(attributes = {})
  set_hidden(false, attributes)
end