Class: Review
- Inherits:
-
MLS::Model
- Object
- ActiveRecord::Base
- MLS::Model
- Review
- Defined in:
- lib/mls/models/review.rb
Instance Method Summary collapse
Instance Method Details
#approved? ⇒ Boolean
6 7 8 |
# File 'lib/mls/models/review.rb', line 6 def approved? approval == true end |
#pending? ⇒ Boolean
14 15 16 |
# File 'lib/mls/models/review.rb', line 14 def pending? approval == nil end |
#rejected? ⇒ Boolean
10 11 12 |
# File 'lib/mls/models/review.rb', line 10 def rejected? approval == false end |