Class: GustoEmbedded::Operations::PostV1CompaniesAttachmentRequestBody

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

Overview

The binary payload of the file and the company attachment category.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(category: nil, document: nil) ⇒ PostV1CompaniesAttachmentRequestBody

Returns a new instance of PostV1CompaniesAttachmentRequestBody.



21
22
23
24
# File 'lib/gusto_embedded/models/operations/post_v1_companies_attachment_requestbody.rb', line 21

def initialize(category: nil, document: nil)
  @category = category
  @document = document
end