Class: EVSS::Letters::BenefitInformation

Inherits:
Common::Base show all
Defined in:
lib/evss/letters/benefit_information.rb

Overview

Model for benefit information

Instance Attribute Summary collapse

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

#award_effective_dateDateTime

Returns The date and time that the user’s benefit award goes into effect.

Returns:

  • (DateTime)

    The date and time that the user’s benefit award goes into effect



19
20
21
22
23
24
# File 'lib/evss/letters/benefit_information.rb', line 19

class BenefitInformation < Common::Base
  attribute :monthly_award_amount, Float
  attribute :service_connected_percentage, Integer
  attribute :award_effective_date, DateTime
  attribute :has_chapter35_eligibility, Boolean
end

#has_chapter35_eligiblityBoolean

Returns true if the user is Chapter 35-eligible

Returns:

  • (Boolean)

    Returns true if the user is Chapter 35-eligible



19
20
21
22
23
24
# File 'lib/evss/letters/benefit_information.rb', line 19

class BenefitInformation < Common::Base
  attribute :monthly_award_amount, Float
  attribute :service_connected_percentage, Integer
  attribute :award_effective_date, DateTime
  attribute :has_chapter35_eligibility, Boolean
end

#monthly_award_amountFloat

Returns Dollar amount that the user receives monthly.

Returns:

  • (Float)

    Dollar amount that the user receives monthly



19
20
21
22
23
24
# File 'lib/evss/letters/benefit_information.rb', line 19

class BenefitInformation < Common::Base
  attribute :monthly_award_amount, Float
  attribute :service_connected_percentage, Integer
  attribute :award_effective_date, DateTime
  attribute :has_chapter35_eligibility, Boolean
end

#service_connected_percentageInteger

Returns The VA’s rating of the veteran’s service-connected disability or disabilities.

Returns:

  • (Integer)

    The VA’s rating of the veteran’s service-connected disability or disabilities



19
20
21
22
23
24
# File 'lib/evss/letters/benefit_information.rb', line 19

class BenefitInformation < Common::Base
  attribute :monthly_award_amount, Float
  attribute :service_connected_percentage, Integer
  attribute :award_effective_date, DateTime
  attribute :has_chapter35_eligibility, Boolean
end