Class: BenefitsEducation::Entitlement
- Inherits:
-
Common::Base
- Object
- Common::Base
- BenefitsEducation::Entitlement
- Defined in:
- lib/lighthouse/benefits_education/entitlement.rb
Overview
Model for the GIBS entitlement
Instance Attribute Summary collapse
-
#days ⇒ Integer
Number of days in the entitlement.
-
#months ⇒ Integer
Number of months in the entitlement.
Attributes inherited from Common::Base
Method Summary
Methods inherited from Common::Base
#changed, #changed?, #changes, default_sort, filterable_attributes, #initialize, max_per_page, per_page, sortable_attributes
Constructor Details
This class inherits a constructor from Common::Base
Instance Attribute Details
#days ⇒ Integer
Returns Number of days in the entitlement.
13 14 15 16 |
# File 'lib/lighthouse/benefits_education/entitlement.rb', line 13 class Entitlement < Common::Base attribute :months, Integer attribute :days, Integer end |
#months ⇒ Integer
Returns Number of months in the entitlement.
13 14 15 16 |
# File 'lib/lighthouse/benefits_education/entitlement.rb', line 13 class Entitlement < Common::Base attribute :months, Integer attribute :days, Integer end |