Class: EVSS::GiBillStatus::Amendment

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

Overview

Model for an amendment made to a user’s enrollment

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

#change_effective_dateString

Returns The date the amendment takes effect.

Returns:

  • (String)

    The date the amendment takes effect



23
24
25
26
27
28
29
30
# File 'lib/evss/gi_bill_status/amendment.rb', line 23

class Amendment < Common::Base
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :type, String
  attribute :status, String
  attribute :change_effective_date, String
end

#on_campus_hoursFloat

Returns The number of credit hours the user was on campus.

Returns:

  • (Float)

    The number of credit hours the user was on campus



23
24
25
26
27
28
29
30
# File 'lib/evss/gi_bill_status/amendment.rb', line 23

class Amendment < Common::Base
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :type, String
  attribute :status, String
  attribute :change_effective_date, String
end

#online_hoursFloat

Returns The number of credit hours the user took online.

Returns:

  • (Float)

    The number of credit hours the user took online



23
24
25
26
27
28
29
30
# File 'lib/evss/gi_bill_status/amendment.rb', line 23

class Amendment < Common::Base
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :type, String
  attribute :status, String
  attribute :change_effective_date, String
end

#statusString

Returns The enrollment status.

Returns:

  • (String)

    The enrollment status



23
24
25
26
27
28
29
30
# File 'lib/evss/gi_bill_status/amendment.rb', line 23

class Amendment < Common::Base
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :type, String
  attribute :status, String
  attribute :change_effective_date, String
end

#typeString

Returns The amendment type.

Returns:

  • (String)

    The amendment type



23
24
25
26
27
28
29
30
# File 'lib/evss/gi_bill_status/amendment.rb', line 23

class Amendment < Common::Base
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :type, String
  attribute :status, String
  attribute :change_effective_date, String
end

#yellow_ribbon_amountFloat

Returns The institution’s financial contributions to the Yellow Ribbon Program.

Returns:

  • (Float)

    The institution’s financial contributions to the Yellow Ribbon Program



23
24
25
26
27
28
29
30
# File 'lib/evss/gi_bill_status/amendment.rb', line 23

class Amendment < Common::Base
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :type, String
  attribute :status, String
  attribute :change_effective_date, String
end