Class: GustoEmbedded::Operations::Benefits
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Operations::Benefits
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/operations/benefits.rb
Overview
An array of benefits for the employee. Depends on your company selections, benefits include 401k, health insurance and more.
Instance Method Summary collapse
-
#initialize(benefit_id: nil, company_contribution_amount: nil, employee_deduction_amount: nil) ⇒ Benefits
constructor
A new instance of Benefits.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(benefit_id: nil, company_contribution_amount: nil, employee_deduction_amount: nil) ⇒ Benefits
Returns a new instance of Benefits.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/operations/benefits.rb', line 23 def initialize(benefit_id: nil, company_contribution_amount: nil, employee_deduction_amount: nil) @benefit_id = benefit_id @company_contribution_amount = company_contribution_amount @employee_deduction_amount = employee_deduction_amount end |