Class: Follow

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
lib/generators/templates/follow.rb

Instance Method Summary collapse

Instance Method Details

#block!Object



6
7
8
# File 'lib/generators/templates/follow.rb', line 6

def block!
  self.update_attribute(:blocked, true)
end