Class: GustoEmbedded::Shared::HistoricalEmployeeBody
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::HistoricalEmployeeBody
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/historical_employee_body.rb
Instance Method Summary collapse
-
#initialize(date_of_birth: nil, first_name: nil, home_address: nil, job: nil, last_name: nil, ssn: nil, termination: nil, work_address: nil, email: nil, employee_state_taxes: nil, middle_initial: nil, preferred_first_name: nil) ⇒ HistoricalEmployeeBody
constructor
A new instance of HistoricalEmployeeBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(date_of_birth: nil, first_name: nil, home_address: nil, job: nil, last_name: nil, ssn: nil, termination: nil, work_address: nil, email: nil, employee_state_taxes: nil, middle_initial: nil, preferred_first_name: nil) ⇒ HistoricalEmployeeBody
Returns a new instance of HistoricalEmployeeBody.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/gusto_embedded/models/shared/historical_employee_body.rb', line 41 def initialize(date_of_birth: nil, first_name: nil, home_address: nil, job: nil, last_name: nil, ssn: nil, termination: nil, work_address: nil, email: nil, employee_state_taxes: nil, middle_initial: nil, preferred_first_name: nil) @date_of_birth = date_of_birth @first_name = first_name @home_address = home_address @job = job @last_name = last_name @ssn = ssn @termination = termination @work_address = work_address @email = email @employee_state_taxes = employee_state_taxes @middle_initial = middle_initial @preferred_first_name = preferred_first_name end |