Exception: Collavre::Tools::CreativeBatchService::BatchRollbackError

Inherits:
StandardError
  • Object
show all
Defined in:
app/services/collavre/tools/creative_batch_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(results) ⇒ BatchRollbackError

Returns a new instance of BatchRollbackError.



29
30
31
32
# File 'app/services/collavre/tools/creative_batch_service.rb', line 29

def initialize(results)
  @results = results
  super("Batch operation failed")
end

Instance Attribute Details

#resultsObject (readonly)

Returns the value of attribute results.



27
28
29
# File 'app/services/collavre/tools/creative_batch_service.rb', line 27

def results
  @results
end