Class: Friending

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/friending.rb

Instance Method Summary collapse

Instance Method Details

#confirmObject



7
8
9
# File 'app/models/friending.rb', line 7

def confirm
  self.update_attributes(:confirmed=>true)
end

#rejectObject



11
12
13
# File 'app/models/friending.rb', line 11

def reject
  self.update_attributes(:rejected=>true)
end