Sha256: 1bc8a9f462365e022bc2b9ab9438bee2ef6849e70b0a33b7536ce0c45d8d9dd5
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
module AddressFinder class Bulk def initialize(http:, &block) @block = block @http_config = http end def perform http_config.start do |http| block.call ClientProxy.new(http: http) end end private attr_reader :block, :http_config class ClientProxy def initialize(http:) @http = http end def cleanse(args={}) AddressFinder::Cleanse.new(args.merge(http: http)).perform.result end private attr_reader :http end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
addressfinder-1.7.0 | lib/addressfinder/bulk.rb |
addressfinder-1.6.2 | lib/addressfinder/bulk.rb |
addressfinder-1.6.1 | lib/addressfinder/bulk.rb |
addressfinder-1.6.0 | lib/addressfinder/bulk.rb |