Class: HCADisabilityRatingPolicy
- Inherits:
-
Struct
- Object
- Struct
- HCADisabilityRatingPolicy
- Defined in:
- app/policies/hca_disability_rating_policy.rb
Instance Attribute Summary collapse
-
#hca_disability_rating ⇒ Object
Returns the value of attribute hca_disability_rating.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
Instance Attribute Details
#hca_disability_rating ⇒ Object
Returns the value of attribute hca_disability_rating
3 4 5 |
# File 'app/policies/hca_disability_rating_policy.rb', line 3 def @hca_disability_rating end |
#user ⇒ Object
Returns the value of attribute user
3 4 5 |
# File 'app/policies/hca_disability_rating_policy.rb', line 3 def user @user end |
Instance Method Details
#access? ⇒ Boolean
4 5 6 |
# File 'app/policies/hca_disability_rating_policy.rb', line 4 def access? user.loa3? && user.ssn.present? end |