Module: BatchApi::Processor::Strategies::Sequential

Defined in:
lib/batch_api/processor/strategies/sequential.rb

Class Method Summary collapse

Class Method Details

.execute!(ops, options = {}) ⇒ Object

Public: execute all operations sequentially.

ops - a set of BatchApi::Operations options - a set of options

Returns an array of BatchApi::Response objects.



11
12
13
# File 'lib/batch_api/processor/strategies/sequential.rb', line 11

def self.execute!(ops, options = {})
  ops.map(&:execute)
end