Module: Amistad::FriendshipModel::InstanceMethods
- Defined in:
- lib/amistad/friendship_model.rb
Instance Method Summary collapse
-
#blocked? ⇒ Boolean
returns true if a friendship has been blocked, else false.
-
#pending? ⇒ Boolean
returns true if a friendship has not been approved, else false.
Instance Method Details
#blocked? ⇒ Boolean
returns true if a friendship has been blocked, else false
23 24 25 |
# File 'lib/amistad/friendship_model.rb', line 23 def blocked? self.blocked end |
#pending? ⇒ Boolean
returns true if a friendship has not been approved, else false
18 19 20 |
# File 'lib/amistad/friendship_model.rb', line 18 def pending? self.pending end |