Class: SimpleInvoice::Contact

Inherits:
Struct
  • Object
show all
Defined in:
lib/simple_invoice/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/simple_invoice/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/simple_invoice/contact.rb', line 2

def name
  @name
end

#phoneObject

Returns the value of attribute phone

Returns:

  • (Object)

    the current value of phone



2
3
4
# File 'lib/simple_invoice/contact.rb', line 2

def phone
  @phone
end