Class: Xberg::UrlExtractionConfig

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUrlExtractionConfig

Returns a new instance of UrlExtractionConfig.

Parameters:

  • mode: (UrlExtractionMode)
  • crawl: (CrawlConfig)
  • document_url_pattern: (String)
  • max_document_urls_per_result: (Integer)
  • max_total_urls: (Integer)
  • allow_local_file_inputs: (Boolean)
  • allow_file_uris: (Boolean)


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

def initialize: (?mode: UrlExtractionMode, ?crawl: CrawlConfig, ?document_url_pattern: String, ?max_document_urls_per_result: Integer, ?max_total_urls: Integer, ?allow_local_file_inputs: bool, ?allow_file_uris: bool) -> void

Instance Attribute Details

#allow_file_urisBoolean?

Returns the value of attribute allow_file_uris.

Returns:

  • (Boolean, nil)


209
210
211
# File 'sig/types.rbs', line 209

def allow_file_uris
  @allow_file_uris
end

#allow_local_file_inputsBoolean?

Returns the value of attribute allow_local_file_inputs.

Returns:

  • (Boolean, nil)


208
209
210
# File 'sig/types.rbs', line 208

def allow_local_file_inputs
  @allow_local_file_inputs
end

#crawlCrawlConfig?

Returns the value of attribute crawl.

Returns:



204
205
206
# File 'sig/types.rbs', line 204

def crawl
  @crawl
end

#document_url_patternString?

Returns the value of attribute document_url_pattern.

Returns:

  • (String, nil)


205
206
207
# File 'sig/types.rbs', line 205

def document_url_pattern
  @document_url_pattern
end

#max_document_urls_per_resultInteger?

Returns the value of attribute max_document_urls_per_result.

Returns:

  • (Integer, nil)


206
207
208
# File 'sig/types.rbs', line 206

def max_document_urls_per_result
  @max_document_urls_per_result
end

#max_total_urlsInteger?

Returns the value of attribute max_total_urls.

Returns:

  • (Integer, nil)


207
208
209
# File 'sig/types.rbs', line 207

def max_total_urls
  @max_total_urls
end

#modeUrlExtractionMode?

Returns the value of attribute mode.

Returns:



203
204
205
# File 'sig/types.rbs', line 203

def mode
  @mode
end

Class Method Details

.defaultUrlExtractionConfig

Returns:



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

def self.default: () -> UrlExtractionConfig