Class: Crawlberg::BatchScrapeResults

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBatchScrapeResults

Returns a new instance of BatchScrapeResults.

Parameters:

  • results: (Array[BatchScrapeResult])
  • total_count: (Integer)
  • completed_count: (Integer)
  • failed_count: (Integer)


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

def initialize: (?results: Array[BatchScrapeResult], ?total_count: Integer, ?completed_count: Integer, ?failed_count: Integer) -> void

Instance Attribute Details

#completed_countInteger (readonly)

Returns the value of attribute completed_count.

Returns:

  • (Integer)


66
67
68
# File 'sig/types.rbs', line 66

def completed_count
  @completed_count
end

#failed_countInteger (readonly)

Returns the value of attribute failed_count.

Returns:

  • (Integer)


67
68
69
# File 'sig/types.rbs', line 67

def failed_count
  @failed_count
end

#resultsArray[BatchScrapeResult] (readonly)

Returns the value of attribute results.

Returns:



64
65
66
# File 'sig/types.rbs', line 64

def results
  @results
end

#total_countInteger (readonly)

Returns the value of attribute total_count.

Returns:

  • (Integer)


65
66
67
# File 'sig/types.rbs', line 65

def total_count
  @total_count
end