Class: RepsClient::Source

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

Instance Method Details

#codeString

Returns the unique human-readable code identifying the source (e.g. ‘KOIN-TV’).

Returns:

  • (String)

    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

#descriptionString

Returns the description of the lead source (e.g. ‘KOIN television ad campaign’).

Returns:

  • (String)

    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_idint

Returns the id of the lead source.

Returns:

  • (int)

    the id of the lead source



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

property :source_id, :from => :source_idy, :type => Integer