Class: RepsClient::RelationshipType
- Inherits:
-
Modelish::Base
- Object
- Modelish::Base
- RepsClient::RelationshipType
- Defined in:
- lib/reps_client/pick_list.rb
Overview
A type of relationship from the REPS service. Equates to the dropdown list labeled ‘Relation to Resident’ on the Leads -> Contact page in REPS.
Note: Be careful of the direction of the relationship type. Many web pages ask about the relationship of the prospect to the contact (Q: For whom are you inquiring? A: Mother), but REPS uses the relationship of the contact to the prospect (Q: What is your relationship to the prospective resident? A: Daughter).
Instance Method Summary collapse
-
#name ⇒ String
The display name of the relationship type (e.g. “Daughter”).
-
#relationship_type_id ⇒ int
The id of the relationship type.
Instance Method Details
#name ⇒ String
Returns the display name of the relationship type (e.g. “Daughter”).
44 |
# File 'lib/reps_client/pick_list.rb', line 44 property :name, :from => :relationship_name, :type => String |
#relationship_type_id ⇒ int
Returns the id of the relationship type.
41 |
# File 'lib/reps_client/pick_list.rb', line 41 property :relationship_type_id, :from => :relationship_type_idy, :type => Integer |