class CtGov::Contact
Public Class Methods
new(raw_contact)
click to toggle source
# File lib/ct_gov/contact.rb, line 4 def initialize(raw_contact) @raw_contact = raw_contact end
Public Instance Methods
email()
click to toggle source
# File lib/ct_gov/contact.rb, line 20 def email @raw_contact['email'] end
name()
click to toggle source
# File lib/ct_gov/contact.rb, line 8 def name @raw_contact['last_name'] end
phone()
click to toggle source
# File lib/ct_gov/contact.rb, line 12 def phone @raw_contact['phone'] end
phone_extension()
click to toggle source
# File lib/ct_gov/contact.rb, line 16 def phone_extension @raw_contact['phone_ext'] end