Class: GustoEmbedded::Shared::RequiredAttributes

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(key: nil, label: nil) ⇒ RequiredAttributes

Returns a new instance of RequiredAttributes.



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

def initialize(key: nil, label: nil)
  @key = key
  @label = label
end