Class: GustoEmbedded::Shared::Benefits

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/shared/benefits.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(company_contribution: nil, employee_deduction: nil, imputed: nil, name: nil) ⇒ Benefits

Returns a new instance of Benefits.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/shared/benefits.rb', line 25

def initialize(company_contribution: nil, employee_deduction: nil, imputed: nil, name: nil)
  @company_contribution = company_contribution
  @employee_deduction = employee_deduction
  @imputed = imputed
  @name = name
end