Class: ContactList::Client::Contact

Inherits:
Struct
  • Object
show all
Defined in:
lib/contactlist/client.rb

Overview

REQUEST_URI = ‘contacts.huangzhimin.com/’ REQUEST_URI = ‘localhost:8080/ContactListService/contacts

Instance Attribute Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



14
15
16
# File 'lib/contactlist/client.rb', line 14

def email
  @email
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



14
15
16
# File 'lib/contactlist/client.rb', line 14

def username
  @username
end