Module: Xberg::_DocumentExtractor

Defined in:
sig/types.rbs

Instance Method Summary collapse

Instance Method Details

#extractExtractedDocument

Optional methods the bridge calls when the object defines them (the trait's Rust default behavior applies otherwise): priority, can_handle. The lifecycle hooks initialize/shutdown are likewise optional (note: Ruby constructors are private and never count as the lifecycle hook).

Parameters:

Returns:



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

def extract: (ExtractInput input, ExtractionConfig config) -> ExtractedDocument

#supported_mime_typesArray[String]

Returns:

  • (Array[String])


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

def supported_mime_types: () -> Array[String]