Class: GustoEmbedded::Shared::Fields

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(data_type: nil, height: nil, key: nil, page_number: nil, required: nil, value: nil, width: nil, x: nil, y: nil) ⇒ Fields

Returns a new instance of Fields.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/gusto_embedded/models/shared/fields_.rb', line 35

def initialize(data_type: nil, height: nil, key: nil, page_number: nil, required: nil, value: nil, width: nil, x: nil, y: nil)
  @data_type = data_type
  @height = height
  @key = key
  @page_number = page_number
  @required = required
  @value = value
  @width = width
  @x = x
  @y = y
end