Class: RepsClient::Prefix

Inherits:
Modelish::Base
  • Object
show all
Defined in:
lib/reps_client/pick_list.rb

Overview

A name prefix from the REPS service. Equates to the dropdown list labeled “Prefix” on the Leads -> Contact and Prospect pages in REPS.

Instance Method Summary collapse

Instance Method Details

#prefix_idint

Returns the id of the prefix.

Returns:

  • (int)

    the id of the prefix



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

property :prefix_id, :from => :user_list_idy, :type => Integer

#valueString

Returns the display value of the prefix (e.g. “Mr.”).

Returns:

  • (String)

    the display value of the prefix (e.g. “Mr.”)



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

property :value, :from => :list_value, :type => String