Class: GustoEmbedded::Shared::Document

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(description: nil, draft: nil, fields_: nil, name: nil, pages: nil, quarter: nil, recipient_type: nil, recipient_uuid: nil, requires_signing: nil, signed_at: nil, title: nil, uuid: nil, year: nil) ⇒ Document

Returns a new instance of Document.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/gusto_embedded/models/shared/document.rb', line 43

def initialize(description: nil, draft: nil, fields_: nil, name: nil, pages: nil, quarter: nil, recipient_type: nil, recipient_uuid: nil, requires_signing: nil, signed_at: nil, title: nil, uuid: nil, year: nil)
  @description = description
  @draft = draft
  @fields_ = fields_
  @name = name
  @pages = pages
  @quarter = quarter
  @recipient_type = recipient_type
  @recipient_uuid = recipient_uuid
  @requires_signing = requires_signing
  @signed_at = signed_at
  @title = title
  @uuid = uuid
  @year = year
end