Class: EVSS::GiBillStatus::Enrollment
- Inherits:
-
Common::Base
- Object
- Common::Base
- EVSS::GiBillStatus::Enrollment
- Defined in:
- lib/evss/gi_bill_status/enrollment.rb
Overview
Model for a user’s enrollment
Instance Attribute Summary collapse
-
#amendments ⇒ Array[Amendment]
Any amendments made to this enrollment.
-
#begin_date ⇒ DateTime
The date the user enrolled.
-
#end_date ⇒ DateTime
The date the user’s enrollment ended.
-
#facility_code ⇒ String
VA training facility code.
-
#facility_name ⇒ String
The name of the institution where the user is enrolled.
-
#full_time_credit_hour_under_grad ⇒ Integer
The number of full-time undergrad credit hours for the user.
-
#full_time_hours ⇒ Integer
The number of hours the user was a full-time student.
-
#hour_type ⇒ String
The type of credit hours, i.e.
-
#on_campus_hours ⇒ Float
The number of credit hours the user was on campus.
-
#online_hours ⇒ Float
The number of credit hours the user took online.
-
#participant_id ⇒ String
The user’s ID as a participant of the institution.
-
#status ⇒ String
The enrollment status.
-
#term_id ⇒ String
The term ID.
-
#training_type ⇒ String
The type of training the user received.
-
#vacation_day_count ⇒ Integer
The number of vacation days the user logged.
-
#yellow_ribbon_amount ⇒ Float
The institution’s financial contributions to the Yellow Ribbon Program.
Attributes inherited from Common::Base
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
#amendments ⇒ Array[Amendment]
Returns 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_date ⇒ DateTime
Returns 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_date ⇒ DateTime
Returns 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_code ⇒ String
Returns 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_name ⇒ String
Returns 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_grad ⇒ Integer
Returns 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_hours ⇒ Integer
Returns 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_type ⇒ String
Returns 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_hours ⇒ Float
Returns 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_hours ⇒ Float
Returns 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_id ⇒ String
Returns 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 |
#status ⇒ String
Returns 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_id ⇒ String
Returns 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_type ⇒ String
Returns 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_count ⇒ Integer
Returns 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_amount ⇒ Float
Returns 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 |