Class: FinchAPI::Models::HRIS::EmploymentData::Employment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/hris/employment_data.rb

Defined Under Namespace

Modules: Subtype, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subtype: nil, type: nil) ⇒ Employment

The employment object.

Parameters:



6
# File 'lib/finch-api/models/hris/employment_data.rb', line 6

def initialize(subtype: nil, type: nil, **) = super

Instance Attribute Details

#subtypeSymbol, ...

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

#typeSymbol, ...

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


2
# File 'lib/finch-api/models/hris/employment_data.rb', line 2

def self.values; end