Class: GustoEmbedded::Shared::Deductions

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(amount: nil, name: nil) ⇒ Deductions

Returns a new instance of Deductions.



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

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