Class: GustoEmbedded::Operations::HourlyCompensations

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/operations/hourly_compensations.rb

Overview

An array of hourly compensations for the employee. Hourly compensations include regular, overtime, and double overtime hours.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(hours: nil, job_uuid: nil, name: nil) ⇒ HourlyCompensations

Returns a new instance of HourlyCompensations.



23
24
25
26
27
# File 'lib/gusto_embedded/models/operations/hourly_compensations.rb', line 23

def initialize(hours: nil, job_uuid: nil, name: nil)
  @hours = hours
  @job_uuid = job_uuid
  @name = name
end