Class: NoyoFulfillment::GroupEnrollment
- Inherits:
-
ApiResource
- Object
- BaseModel
- ApiResource
- NoyoFulfillment::GroupEnrollment
- Includes:
- Mixins::NestedUnder
- Defined in:
- lib/noyo_fulfillment/models/group_enrollment.rb
Instance Attribute Summary collapse
-
#carrier_id ⇒ Object
Returns the value of attribute carrier_id.
-
#created ⇒ Object
Returns the value of attribute created.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modified ⇒ Object
Returns the value of attribute modified.
-
#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
#carrier_id ⇒ Object
Returns the value of attribute carrier_id.
6 7 8 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 6 def carrier_id @carrier_id end |
#created ⇒ Object
Returns the value of attribute created.
6 7 8 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 6 def created @created end |
#group_id ⇒ Object
Returns the value of attribute group_id.
6 7 8 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 6 def group_id @group_id end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 6 def id @id end |
#modified ⇒ Object
Returns the value of attribute modified.
6 7 8 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 6 def modified @modified end |
#version ⇒ Object
Returns the value of attribute version.
6 7 8 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 6 def version @version end |
Instance Method Details
#plans ⇒ Object
16 17 18 |
# File 'lib/noyo_fulfillment/models/group_enrollment.rb', line 16 def plans NoyoFulfillment::GroupPlans::Base.all(group_enrollment_id: id) end |