Class: GustoEmbedded::Shared::Form

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

Overview

Example response

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, description: nil, document_content_type: nil, draft: nil, name: nil, quarter: nil, requires_signing: nil, title: nil, year: nil) ⇒ Form

Returns a new instance of Form.



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

def initialize(uuid: nil, description: nil, document_content_type: nil, draft: nil, name: nil, quarter: nil, requires_signing: nil, title: nil, year: nil)
  @uuid = uuid
  @description = description
  @document_content_type = document_content_type
  @draft = draft
  @name = name
  @quarter = quarter
  @requires_signing = requires_signing
  @title = title
  @year = year
end