Class: FinchAPI::Models::HRIS::EmploymentData::Employment
- Defined in:
- lib/finch-api/models/hris/employment_data.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#subtype ⇒ Symbol, ...
The secondary employment type of the individual.
-
#type ⇒ Symbol, ...
The main employment type of the individual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(subtype: nil, type: nil) ⇒ Employment
constructor
The employment object.
Constructor Details
#initialize(subtype: nil, type: nil) ⇒ Employment
The employment object.
6 |
# File 'lib/finch-api/models/hris/employment_data.rb', line 6 def initialize(subtype: nil, type: nil, **) = super |
Instance Attribute Details
#subtype ⇒ Symbol, ...
The secondary employment type of the individual. Options: ‘full_time`,
`part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`.
236 |
# File 'lib/finch-api/models/hris/employment_data.rb', line 236 optional :subtype, enum: -> { FinchAPI::Models::HRIS::EmploymentData::Employment::Subtype }, nil?: true |
#type ⇒ Symbol, ...
The main employment type of the individual.
242 |
# File 'lib/finch-api/models/hris/employment_data.rb', line 242 optional :type, enum: -> { FinchAPI::Models::HRIS::EmploymentData::Employment::Type }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
2 |
# File 'lib/finch-api/models/hris/employment_data.rb', line 2 def self.values; end |