Class: GustoEmbedded::Shared::Compensations

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

Overview

The available company-wide compensation rates for the company.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(fixed: nil, hourly: nil, paid_time_off: nil) ⇒ Compensations

Returns a new instance of Compensations.



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

def initialize(fixed: nil, hourly: nil, paid_time_off: nil)
  @fixed = fixed
  @hourly = hourly
  @paid_time_off = paid_time_off
end