Class: EVSS::Letters::BenefitInformationVeteran

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

Overview

Model for a veteran’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_adapted_housingBoolean

Returns true if the user has adapted housing

Returns:

  • (Boolean)

    Returns true if the user has adapted housing



21
22
23
24
25
26
27
# File 'lib/evss/letters/benefit_information_veteran.rb', line 21

class BenefitInformationVeteran < BenefitInformation
  attribute :has_non_service_connected_pension, Boolean
  attribute :has_service_connected_disabilities, Boolean
  attribute :has_adapted_housing, Boolean
  attribute :has_individual_unemployability_granted, Boolean
  attribute :has_special_monthly_compensation, Boolean
end

#has_individual_unemployability_grantedBoolean

Returns true if the user has been granted individual unemployability

Returns:

  • (Boolean)

    Returns true if the user has been granted individual unemployability



21
22
23
24
25
26
27
# File 'lib/evss/letters/benefit_information_veteran.rb', line 21

class BenefitInformationVeteran < BenefitInformation
  attribute :has_non_service_connected_pension, Boolean
  attribute :has_service_connected_disabilities, Boolean
  attribute :has_adapted_housing, Boolean
  attribute :has_individual_unemployability_granted, Boolean
  attribute :has_special_monthly_compensation, Boolean
end

#has_non_service_connected_pensionBoolean

Returns true if the user has a pension unconnected to their service

Returns:

  • (Boolean)

    Returns true if the user has a pension unconnected to their service



21
22
23
24
25
26
27
# File 'lib/evss/letters/benefit_information_veteran.rb', line 21

class BenefitInformationVeteran < BenefitInformation
  attribute :has_non_service_connected_pension, Boolean
  attribute :has_service_connected_disabilities, Boolean
  attribute :has_adapted_housing, Boolean
  attribute :has_individual_unemployability_granted, Boolean
  attribute :has_special_monthly_compensation, Boolean
end

#has_service_connected_disabilitiesBoolean

Returns true if the user has a disability connected to their service

Returns:

  • (Boolean)

    Returns true if the user has a disability connected to their service



21
22
23
24
25
26
27
# File 'lib/evss/letters/benefit_information_veteran.rb', line 21

class BenefitInformationVeteran < BenefitInformation
  attribute :has_non_service_connected_pension, Boolean
  attribute :has_service_connected_disabilities, Boolean
  attribute :has_adapted_housing, Boolean
  attribute :has_individual_unemployability_granted, Boolean
  attribute :has_special_monthly_compensation, Boolean
end

#has_special_monthly_compensationBoolean

Returns true if the user has special monthly compensation

Returns:

  • (Boolean)

    Returns true if the user has special monthly compensation



21
22
23
24
25
26
27
# File 'lib/evss/letters/benefit_information_veteran.rb', line 21

class BenefitInformationVeteran < BenefitInformation
  attribute :has_non_service_connected_pension, Boolean
  attribute :has_service_connected_disabilities, Boolean
  attribute :has_adapted_housing, Boolean
  attribute :has_individual_unemployability_granted, Boolean
  attribute :has_special_monthly_compensation, Boolean
end