Class: GustoEmbedded::Shared::Job
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::Job
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/job.rb
Overview
The representation of a job in Gusto.
Instance Method Summary collapse
-
#initialize(uuid: nil, compensations: nil, current_compensation_uuid: nil, employee_uuid: nil, hire_date: nil, payment_unit: nil, primary: nil, rate: nil, state_wc_class_code: nil, state_wc_covered: nil, title: nil, two_percent_shareholder: nil, version: nil) ⇒ Job
constructor
A new instance of Job.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, compensations: nil, current_compensation_uuid: nil, employee_uuid: nil, hire_date: nil, payment_unit: nil, primary: nil, rate: nil, state_wc_class_code: nil, state_wc_covered: nil, title: nil, two_percent_shareholder: nil, version: nil) ⇒ Job
Returns a new instance of Job.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/gusto_embedded/models/shared/job.rb', line 43 def initialize(uuid: nil, compensations: nil, current_compensation_uuid: nil, employee_uuid: nil, hire_date: nil, payment_unit: nil, primary: nil, rate: nil, state_wc_class_code: nil, state_wc_covered: nil, title: nil, two_percent_shareholder: nil, version: nil) @uuid = uuid @compensations = compensations @current_compensation_uuid = current_compensation_uuid @employee_uuid = employee_uuid @hire_date = hire_date @payment_unit = payment_unit @primary = primary @rate = rate @state_wc_class_code = state_wc_class_code @state_wc_covered = state_wc_covered @title = title @two_percent_shareholder = two_percent_shareholder @version = version end |