Class: Crawlberg::BatchScrapeResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBatchScrapeResult

Returns a new instance of BatchScrapeResult.

Parameters:



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

def initialize: (?url: String, ?result: ScrapeResult, ?error: String) -> void

Instance Attribute Details

#errorString?

Returns the value of attribute error.

Returns:

  • (String, nil)


433
434
435
# File 'sig/types.rbs', line 433

def error
  @error
end

#resultScrapeResult?

Returns the value of attribute result.

Returns:



432
433
434
# File 'sig/types.rbs', line 432

def result
  @result
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


431
432
433
# File 'sig/types.rbs', line 431

def url
  @url
end