Module: BounceFetcher
- Defined in:
- lib/bounce_fetcher.rb,
lib/bounce_fetcher/version.rb,
lib/bounce_fetcher/pop_fetcher.rb,
lib/bounce_fetcher/bounce_detector.rb,
lib/bounce_fetcher/email_extractor.rb
Defined Under Namespace
Classes: BounceDetector, BounceFetcher, EmailExtractor, PopFetcher
Constant Summary
collapse
- VERSION =
"0.0.6"
Class Method Summary
collapse
Class Method Details
.new(*args, &block) ⇒ Object
3
4
5
|
# File 'lib/bounce_fetcher.rb', line 3
def self.new(*args, &block)
BounceFetcher.new(*args, &block)
end
|
.pop3(host, username, password, port = 110) ⇒ Object
7
8
9
10
11
12
|
# File 'lib/bounce_fetcher.rb', line 7
def self.pop3(host, username, password, port = 110)
fetcher = PopFetcher.new(host, username, password, port)
= EmailExtractor.new
detector = BounceDetector.new
new(fetcher, , detector)
end
|