Class: Dinie::Kyc::UploadForm

Inherits:
Object
  • Object
show all
Defined in:
sig/dinie/generated/types/kyc/uploads.rbs

Overview

The deterministic multipart representation of a KYC upload (a keyword-init Struct): the ordered scalar fields plus the optional binary file.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ UploadForm

Returns a new instance of UploadForm.

Parameters:

  • fields: (Hash[Symbol, untyped])
  • file: (Object)


16
# File 'sig/dinie/generated/types/kyc/uploads.rbs', line 16

def initialize: (?fields: Hash[Symbol, untyped], ?file: untyped) -> void

Instance Attribute Details

#fields ⇒ Hash[Symbol, untyped]

Returns the value of attribute fields.

Returns:

  • (Hash[Symbol, untyped])


12
13
14
# File 'sig/dinie/generated/types/kyc/uploads.rbs', line 12

def fields
  @fields
end

#file ⇒ Object

Returns the value of attribute file.

Returns:

  • (Object)


13
14
15
# File 'sig/dinie/generated/types/kyc/uploads.rbs', line 13

def file
  @file
end

Class Method Details

.new ⇒ UploadForm

Parameters:

  • fields: (Hash[Symbol, untyped])
  • file: (Object)

Returns:



15
# File 'sig/dinie/generated/types/kyc/uploads.rbs', line 15

def self.new: (?fields: Hash[Symbol, untyped], ?file: untyped) -> UploadForm