Class: GustoEmbedded::Shared::CompanyCustomField

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

Overview

A custom field on a company

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, type: nil, uuid: nil, description: nil, selection_options: nil) ⇒ CompanyCustomField

Returns a new instance of CompanyCustomField.



27
28
29
30
31
32
33
# File 'lib/gusto_embedded/models/shared/company_custom_field.rb', line 27

def initialize(name: nil, type: nil, uuid: nil, description: nil, selection_options: nil)
  @name = name
  @type = type
  @uuid = uuid
  @description = description
  @selection_options = selection_options
end