Class: Xberg::ExtractInput

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeExtractInput

Returns a new instance of ExtractInput.

Parameters:

  • kind: (enum_ExtractInputKind)
  • bytes: (String)
  • uri: (String)
  • mime_type: (String)
  • filename: (String)
  • config: (FileExtractionConfig)


844
# File 'sig/types.rbs', line 844

def initialize: (?kind: enum_ExtractInputKind, ?bytes: String, ?uri: String, ?mime_type: String, ?filename: String, ?config: FileExtractionConfig) -> void

Instance Attribute Details

#bytesString? (readonly)

Returns the value of attribute bytes.

Returns:

  • (String, nil)


838
839
840
# File 'sig/types.rbs', line 838

def bytes
  @bytes
end

#configFileExtractionConfig? (readonly)

Returns the value of attribute config.

Returns:



842
843
844
# File 'sig/types.rbs', line 842

def config
  @config
end

#filenameString? (readonly)

Returns the value of attribute filename.

Returns:

  • (String, nil)


841
842
843
# File 'sig/types.rbs', line 841

def filename
  @filename
end

#kindenum_ExtractInputKind (readonly)

Returns the value of attribute kind.

Returns:

  • (enum_ExtractInputKind)


837
838
839
# File 'sig/types.rbs', line 837

def kind
  @kind
end

#mime_typeString? (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String, nil)


840
841
842
# File 'sig/types.rbs', line 840

def mime_type
  @mime_type
end

#uriString? (readonly)

Returns the value of attribute uri.

Returns:

  • (String, nil)


839
840
841
# File 'sig/types.rbs', line 839

def uri
  @uri
end