Class: WCC::Data::Nucleus::Contact
- Inherits:
-
Base
- Object
- Model
- Base
- WCC::Data::Nucleus::Contact
show all
- Defined in:
- lib/wcc/data/nucleus/contact.rb
Instance Method Summary
collapse
#new_from_response
#endpoint, #endpoint_config, #inherited, #set_endpoint
#create, #find, #list
included
Instance Method Details
#gender ⇒ Object
23
24
25
|
# File 'lib/wcc/data/nucleus/contact.rb', line 23
def gender
Gender[gender_id]
end
|
#gender=(gender) ⇒ Object
27
28
29
|
# File 'lib/wcc/data/nucleus/contact.rb', line 27
def gender=(gender)
self.gender_id = gender.id
end
|
#marital_status ⇒ Object
15
16
17
|
# File 'lib/wcc/data/nucleus/contact.rb', line 15
def marital_status
MaritalStatus[marital_status_id]
end
|
#marital_status=(marital_status) ⇒ Object
19
20
21
|
# File 'lib/wcc/data/nucleus/contact.rb', line 19
def marital_status=(marital_status)
self.marital_status_id = marital_status.id
end
|