Sha256: 347e6f148d3288605edfbce0cc556016f40f8716aa445bdbc3d6351467ffb492
Contents?: true
Size: 700 Bytes
Versions: 11
Compression:
Stored size: 700 Bytes
Contents
module Acfs # Global Acfs module methods. # module Global # @api private # @return [Runner] # def runner @runner ||= Runner.new Adapter::Typhoeus.new end # @api public # # Run all queued operations. # # @return [undefined] # def run runner.start end # @api public # # Configure acfs using given block. # # @return [undefined] # @see Configuration#configure # def configure(&block) Configuration.current.configure &block end # @api public # # Reset all queues, stubs and internal state. # def reset self.runner.clear Acfs::Stub.clear end end end
Version data entries
11 entries across 11 versions & 1 rubygems