20 lines
345 B
Ruby
20 lines
345 B
Ruby
module Typhoeus
|
|
class Hydra
|
|
|
|
# This module contains logic to run a hydra.
|
|
module Runnable
|
|
|
|
# Start the hydra run.
|
|
#
|
|
# @example Start hydra run.
|
|
# hydra.run
|
|
#
|
|
# @return [ Symbol ] Return value from multi.perform.
|
|
def run
|
|
dequeue_many
|
|
multi.perform
|
|
end
|
|
end
|
|
end
|
|
end
|