Class: EmailSpy::Contact

Inherits:
Struct
  • Object
show all
Defined in:
lib/email-spy/contact.rb

Instance Attribute Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



2
3
4
# File 'lib/email-spy/contact.rb', line 2

def email
  @email
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/email-spy/contact.rb', line 2

def name
  @name
end