lib/batch_api/processor/sequential.rb
# Public: execute all operations sequentially.
#
# ops - a set of BatchApi::Operations
# options - a set of options
#
# Returns an array of BatchApi::Response objects.
execute all operations sequentially.
ops - a set of BatchApi::Operations
options - a set of options

Returns an array of BatchApi::Response objects.
execute all operations sequentially . ops - a set of BatchApi :: Operations options - a set of options Returns an array of BatchApi :: Response objects .
def call(env)
        env[:ops].collect do |op|
          env[:op] = op
          middleware = InternalMiddleware.operation_stack
          middleware.call(env).tap {|r| env.delete(:op) }
        end
      end
def call ( env ) env [ :ops ] . collect do | op | env [ :op ] = op middleware = InternalMiddleware . operation_stack middleware . call ( env ) . tap { | r | env . delete ( :op ) } end end
Public: execute all operations sequentially.
Public : execute all operations sequentially .
# set the current op # execute the individual request inside the operation-specific # middeware, then clear out the current op afterward
env
<not_specific>