Class: EmailSpy::Contact
- Inherits:
-
Struct
- Object
- Struct
- EmailSpy::Contact
- Defined in:
- lib/email-spy/contact.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
2 3 4 |
# File 'lib/email-spy/contact.rb', line 2 def email @email end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/email-spy/contact.rb', line 2 def name @name end |