Class: Friending
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Friending
- Defined in:
- app/models/friending.rb
Instance Method Summary collapse
Instance Method Details
#confirm ⇒ Object
7 8 9 |
# File 'app/models/friending.rb', line 7 def confirm self.update_attributes(:confirmed=>true) end |
#reject ⇒ Object
11 12 13 |
# File 'app/models/friending.rb', line 11 def reject self.update_attributes(:rejected=>true) end |