Class: RepsClient::RelationshipType

Inherits:
Modelish::Base
  • Object
show all
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

Instance Method Details

#nameString



44
# File 'lib/reps_client/pick_list.rb', line 44

property :name, :from => :relationship_name, :type => String

#relationship_type_idint



41
# File 'lib/reps_client/pick_list.rb', line 41

property :relationship_type_id, :from => :relationship_type_idy, :type => Integer