Class: LogPusher::Email
- Inherits:
-
Object
- Object
- LogPusher::Email
- Defined in:
- lib/logpusher/email.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(email) ⇒ Email
constructor
A new instance of Email.
Constructor Details
#initialize(email) ⇒ Email
Returns a new instance of Email.
5 6 7 8 |
# File 'lib/logpusher/email.rb', line 5 def initialize(email) ensure_is_valid_email(email) @email = email end |
Instance Method Details
#get ⇒ Object
10 11 12 |
# File 'lib/logpusher/email.rb', line 10 def get @email end |