Class: User
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- User
- Defined in:
- lib/templates/user.rb
Instance Method Summary collapse
Instance Method Details
#is_pending ⇒ Object
12 13 14 15 |
# File 'lib/templates/user.rb', line 12 def is_pending owner = Account.find(self.account_id).users.first true unless self.invitation_accepted_at || self == owner end |