Class: GustoEmbedded::Shared::EarningType

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

Overview

Example response

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, name: nil) ⇒ EarningType

Returns a new instance of EarningType.



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

def initialize(uuid: nil, name: nil)
  @uuid = uuid
  @name = name
end