lib/bolt/transport/base.rb
# Uploads the given source file to the destination location on a batch of targets.
#
# The default implementation only supports batches of size 1 and will fail otherwise.
#
# Transports may override this method to implement their own batch processing.
Uploads the given source file to the destination location on a batch of targets.
The default implementation only supports batches of size 1 and will fail otherwise.

Transports may override this method to implement their own batch processing.
Uploads the given source file to the destination location on a batch of targets . The default implementation only supports batches of size 1 and will fail otherwise . Transports may override this method to implement their own batch processing .
def batch_upload(targets, source, destination, options = {}, position = [], &callback)
        assert_batch_size_one("batch_upload()", targets)
        target = targets.first
        with_events(target, callback, 'upload', position) do
          @logger.debug { "Uploading: '#{source}' to #{destination} on #{target.safe_name}" }
          upload(target, source, destination, options)
        end
      end
def batch_upload ( targets , source , destination , options = { } , position = [ ] , & callback ) assert_batch_size_one ( "batch_upload()" , targets ) target = targets . first with_events ( target , callback , 'upload' , position ) do @logger . debug { "Uploading: '#{source}' to #{destination} on #{target.safe_name}" } upload ( target , source , destination , options ) end end
Uploads the given source file to the destination location on a batch of targets.
Uploads the given source file to the destination location on a batch of targets .
targets
<not_specific>
source
<not_specific>
destination
<not_specific>
options
<not_specific>
position
<not_specific>
callback
<not_specific>