Class: GustoEmbedded::Shared::EmployeeCustomField
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::EmployeeCustomField
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/employee_custom_field.rb
Overview
A custom field of an employee
Instance Method Summary collapse
-
#initialize(company_custom_field_id: nil, id: nil, name: nil, type: nil, value: nil, description: nil, selection_options: nil) ⇒ EmployeeCustomField
constructor
A new instance of EmployeeCustomField.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_custom_field_id: nil, id: nil, name: nil, type: nil, value: nil, description: nil, selection_options: nil) ⇒ EmployeeCustomField
Returns a new instance of EmployeeCustomField.
31 32 33 34 35 36 37 38 39 |
# File 'lib/gusto_embedded/models/shared/employee_custom_field.rb', line 31 def initialize(company_custom_field_id: nil, id: nil, name: nil, type: nil, value: nil, description: nil, selection_options: nil) @company_custom_field_id = company_custom_field_id @id = id @name = name @type = type @value = value @description = description @selection_options = end |