Class: BulkProcessor::CSVProcessor::NoOpHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/bulk_processor/csv_processor/no_op_handler.rb

Overview

A null object implementation of the Handler role

Instance Method Summary collapse

Constructor Details

#initialize(payload:, results:) ⇒ NoOpHandler

Returns a new instance of NoOpHandler.



5
6
# File 'lib/bulk_processor/csv_processor/no_op_handler.rb', line 5

def initialize(payload:, results:)
end

Instance Method Details

#complete!Object



8
9
# File 'lib/bulk_processor/csv_processor/no_op_handler.rb', line 8

def complete!
end

#fail!(fatal_error) ⇒ Object



11
12
# File 'lib/bulk_processor/csv_processor/no_op_handler.rb', line 11

def fail!(fatal_error)
end