Class: GustoEmbedded::Operations::PostV1EmployeesRequestBody
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Operations::PostV1EmployeesRequestBody
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/operations/post_v1_employees_requestbody.rb
Overview
Create an employee.
Instance Method Summary collapse
-
#initialize(first_name: nil, last_name: nil, date_of_birth: nil, email: nil, middle_initial: nil, preferred_first_name: nil, self_onboarding: nil, ssn: nil) ⇒ PostV1EmployeesRequestBody
constructor
A new instance of PostV1EmployeesRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(first_name: nil, last_name: nil, date_of_birth: nil, email: nil, middle_initial: nil, preferred_first_name: nil, self_onboarding: nil, ssn: nil) ⇒ PostV1EmployeesRequestBody
Returns a new instance of PostV1EmployeesRequestBody.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/gusto_embedded/models/operations/post_v1_employees_requestbody.rb', line 33 def initialize(first_name: nil, last_name: nil, date_of_birth: nil, email: nil, middle_initial: nil, preferred_first_name: nil, self_onboarding: nil, ssn: nil) @first_name = first_name @last_name = last_name @date_of_birth = date_of_birth @email = email @middle_initial = middle_initial @preferred_first_name = preferred_first_name @self_onboarding = self_onboarding @ssn = ssn end |