Class: BounceFetcher::PopFetcher::Email
- Inherits:
-
Object
- Object
- BounceFetcher::PopFetcher::Email
- Defined in:
- lib/bounce_fetcher/pop_fetcher.rb
Instance Method Summary collapse
- #delete ⇒ Object
-
#initialize(email) ⇒ Email
constructor
A new instance of Email.
- #method_missing(meth, *args, &block) ⇒ Object
Constructor Details
#initialize(email) ⇒ Email
Returns a new instance of Email.
11 12 13 |
# File 'lib/bounce_fetcher/pop_fetcher.rb', line 11 def initialize(email) @email = email end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &block) ⇒ Object
19 20 21 |
# File 'lib/bounce_fetcher/pop_fetcher.rb', line 19 def method_missing(meth, *args, &block) parsed_email.send(meth, *args, &block) end |
Instance Method Details
#delete ⇒ Object
15 16 17 |
# File 'lib/bounce_fetcher/pop_fetcher.rb', line 15 def delete @email.delete end |