Class: GustoEmbedded::Shared::Resources

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(entity_type: nil, entity_uuid: nil, reference_type: nil, reference_uuid: nil) ⇒ Resources

Returns a new instance of Resources.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/shared/resources.rb', line 25

def initialize(entity_type: nil, entity_uuid: nil, reference_type: nil, reference_uuid: nil)
  @entity_type = entity_type
  @entity_uuid = entity_uuid
  @reference_type = reference_type
  @reference_uuid = reference_uuid
end