Class: GustoEmbedded::Shared::Contribution

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

Overview

An object representing the type and value of the company contribution.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(type: nil, value: nil) ⇒ Contribution

Returns a new instance of Contribution.



29
30
31
32
# File 'lib/gusto_embedded/models/shared/contribution.rb', line 29

def initialize(type: nil, value: nil)
  @type = type
  @value = value
end