Class: EVSS::GiBillStatus::Enrollment

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

Overview

Model for 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

#amendmentsArray[Amendment]

Returns Any amendments made to this enrollment.

Returns:

  • (Array[Amendment])

    Any amendments made to this enrollment



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#begin_dateDateTime

Returns The date the user enrolled.

Returns:

  • (DateTime)

    The date the user enrolled



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#end_dateDateTime

Returns The date the user’s enrollment ended.

Returns:

  • (DateTime)

    The date the user’s enrollment ended



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#facility_codeString

Returns VA training facility code.

Returns:

  • (String)

    VA training facility code



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#facility_nameString

Returns The name of the institution where the user is enrolled.

Returns:

  • (String)

    The name of the institution where the user is enrolled



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#full_time_credit_hour_under_gradInteger

Returns The number of full-time undergrad credit hours for the user.

Returns:

  • (Integer)

    The number of full-time undergrad credit hours for the user



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#full_time_hoursInteger

Returns The number of hours the user was a full-time student.

Returns:

  • (Integer)

    The number of hours the user was a full-time student



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#hour_typeString

Returns The type of credit hours, i.e. “Residence” or “Distance”.

Returns:

  • (String)

    The type of credit hours, i.e. “Residence” or “Distance”



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#online_hoursFloat

Returns The number of credit hours the user took online.

Returns:

  • (Float)

    The number of credit hours the user took online



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#participant_idString

Returns The user’s ID as a participant of the institution.

Returns:

  • (String)

    The user’s ID as a participant of the institution



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#statusString

Returns The enrollment status.

Returns:

  • (String)

    The enrollment status



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#term_idString

Returns The term ID.

Returns:

  • (String)

    The term ID



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#training_typeString

Returns The type of training the user received.

Returns:

  • (String)

    The type of training the user received



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end

#vacation_day_countInteger

Returns The number of vacation days the user logged.

Returns:

  • (Integer)

    The number of vacation days the user logged



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/evss/gi_bill_status/enrollment.rb', line 43

class Enrollment < Common::Base
  attribute :begin_date, DateTime
  attribute :end_date, DateTime
  attribute :facility_code, String
  attribute :facility_name, String
  attribute :participant_id
  attribute :training_type
  attribute :term_id
  attribute :hour_type
  attribute :full_time_hours, Integer
  attribute :full_time_credit_hour_under_grad, Integer
  attribute :vacation_day_count, Integer
  attribute :on_campus_hours, Float
  attribute :online_hours, Float
  attribute :yellow_ribbon_amount, Float
  attribute :status, String
  attribute :amendments, Array[Amendment]
end