Class: Setl::Destination
Instance Method Summary collapse
Methods inherited from Delegator
Constructor Details
This class inherits a constructor from Setl::Delegator
Instance Method Details
#call(row, &block) ⇒ Object
37 38 39 40 41 |
# File 'lib/setl/delegates.rb', line 37 def call(row, &block) item.call(row, &block) rescue StandardError => e error_handler.(DestinationError.new(row, "Failed to send #{row}", e)) end |