Class: RepsClient::Source
- Inherits:
-
Modelish::Base
- Object
- Modelish::Base
- RepsClient::Source
- Defined in:
- lib/reps_client/pick_list.rb
Overview
A lead source (e.g. print advertising, direct mail, referral, etc.) Equates to the dropdown list labeled ‘Source 1’ on the Leads -> Contact page in REPS.
Instance Method Summary collapse
-
#code ⇒ String
The unique human-readable code identifying the source (e.g. ‘KOIN-TV’).
-
#description ⇒ String
The description of the lead source (e.g. ‘KOIN television ad campaign’).
-
#source_id ⇒ int
The id of the lead source.
Instance Method Details
#code ⇒ String
Returns the unique human-readable code identifying the source (e.g. ‘KOIN-TV’).
57 |
# File 'lib/reps_client/pick_list.rb', line 57 property :code, :type => String |
#description ⇒ String
Returns the description of the lead source (e.g. ‘KOIN television ad campaign’).
60 |
# File 'lib/reps_client/pick_list.rb', line 60 property :description, :type => String |
#source_id ⇒ int
Returns the id of the lead source.
54 |
# File 'lib/reps_client/pick_list.rb', line 54 property :source_id, :from => :source_idy, :type => Integer |