Class: GustoEmbedded::Shared::AccruingTimeOffHour

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

Overview

The representation of an unprocessed termination pay period.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(hours: nil, time_off_policy_uuid: nil) ⇒ AccruingTimeOffHour

Returns a new instance of AccruingTimeOffHour.



21
22
23
24
# File 'lib/gusto_embedded/models/shared/accruing_time_off_hour.rb', line 21

def initialize(hours: nil, time_off_policy_uuid: nil)
  @hours = hours
  @time_off_policy_uuid = time_off_policy_uuid
end