Class: NoyoFulfillment::IndividualEnrollment
- Inherits:
-
ApiResource
- Object
- BaseModel
- ApiResource
- NoyoFulfillment::IndividualEnrollment
- Includes:
- Mixins::NestedUnder
- Defined in:
- lib/noyo_fulfillment/models/individual_enrollment.rb
Instance Attribute Summary collapse
-
#group_enrollment_id ⇒ Object
Returns the value of attribute group_enrollment_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#individual_id ⇒ Object
Returns the value of attribute individual_id.
-
#individual_type ⇒ Object
Returns the value of attribute individual_type.
-
#line_of_coverage ⇒ Object
Returns the value of attribute line_of_coverage.
-
#plan_id ⇒ Object
Returns the value of attribute plan_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Methods included from Mixins::NestedUnder
Methods inherited from ApiResource
all, authenticate, #create, #create_hash, #create_url, find, get_body, handle_unauthenticated, headers, #initialize, perform_request_authenticated, resource_path_name, resource_url, #resource_url, single_resource_url, #single_resource_url
Methods included from NoyoApi::Client::UserAgent
Methods inherited from BaseModel
#==, #attributes, class_name, #excluded_attributes, #initialize, #inspect, #synced_attributes, #to_h, #update_attrs
Constructor Details
This class inherits a constructor from NoyoFulfillment::ApiResource
Instance Attribute Details
#group_enrollment_id ⇒ Object
Returns the value of attribute group_enrollment_id.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def group_enrollment_id @group_enrollment_id end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def id @id end |
#individual_id ⇒ Object
Returns the value of attribute individual_id.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def individual_id @individual_id end |
#individual_type ⇒ Object
Returns the value of attribute individual_type.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def individual_type @individual_type end |
#line_of_coverage ⇒ Object
Returns the value of attribute line_of_coverage.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def line_of_coverage @line_of_coverage end |
#plan_id ⇒ Object
Returns the value of attribute plan_id.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def plan_id @plan_id end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def status @status end |
#version ⇒ Object
Returns the value of attribute version.
8 9 10 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 8 def version @version end |
Instance Method Details
#dependent_id ⇒ Object
24 25 26 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 24 def dependent_id individual_id if individual_type == 'dependent' end |
#employee_id ⇒ Object
20 21 22 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 20 def employee_id individual_id if individual_type == 'employee' end |
#group_enrollment ⇒ Object
28 29 30 |
# File 'lib/noyo_fulfillment/models/individual_enrollment.rb', line 28 def group_enrollment NoyoFulfillment::GroupEnrollment.find(group_enrollment_id) end |