Class: EVSS::Letters::BenefitInformationDependent

Inherits:
BenefitInformation show all
Defined in:
lib/evss/letters/benefit_information_dependent.rb

Overview

Model for a dependent’s benefit information

Instance Attribute Summary collapse

Attributes inherited from BenefitInformation

#award_effective_date, #has_chapter35_eligiblity, #monthly_award_amount, #service_connected_percentage

Attributes inherited from Common::Base

#errors_hash, #metadata

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

#has_death_result_of_disabilityBoolean

Returns true of the veteran died as a result of their disability

Returns:

  • (Boolean)

    Returns true of the veteran died as a result of their disability



17
18
19
20
21
# File 'lib/evss/letters/benefit_information_dependent.rb', line 17

class BenefitInformationDependent < BenefitInformation
  attribute :has_survivors_pension_award, Boolean
  attribute :has_survivors_indemnity_compensation_award, Boolean
  attribute :has_death_result_of_disability, Boolean
end

#has_survivors_indemnity_compensation_awardBoolean

Returns true if the user has a survivor’s indemnity compensation award

Returns:

  • (Boolean)

    Returns true if the user has a survivor’s indemnity compensation award



17
18
19
20
21
# File 'lib/evss/letters/benefit_information_dependent.rb', line 17

class BenefitInformationDependent < BenefitInformation
  attribute :has_survivors_pension_award, Boolean
  attribute :has_survivors_indemnity_compensation_award, Boolean
  attribute :has_death_result_of_disability, Boolean
end

#has_survivors_pension_awardBoolean

Returns true if the user has a survivor’s pension award

Returns:

  • (Boolean)

    Returns true if the user has a survivor’s pension award



17
18
19
20
21
# File 'lib/evss/letters/benefit_information_dependent.rb', line 17

class BenefitInformationDependent < BenefitInformation
  attribute :has_survivors_pension_award, Boolean
  attribute :has_survivors_indemnity_compensation_award, Boolean
  attribute :has_death_result_of_disability, Boolean
end