Class: EVSS::GiBillStatus::Entitlement

Inherits:
Common::Base show all
Defined in:
lib/evss/gi_bill_status/entitlement.rb

Overview

Model for the GIBS entitlement

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

#daysInteger

Returns Number of days in the entitlement.

Returns:

  • (Integer)

    Number of days in the entitlement



14
15
16
17
# File 'lib/evss/gi_bill_status/entitlement.rb', line 14

class Entitlement < Common::Base
  attribute :months, Integer
  attribute :days, Integer
end

#monthsInteger

Returns Number of months in the entitlement.

Returns:

  • (Integer)

    Number of months in the entitlement



14
15
16
17
# File 'lib/evss/gi_bill_status/entitlement.rb', line 14

class Entitlement < Common::Base
  attribute :months, Integer
  attribute :days, Integer
end