Class: AFCSalesforce::Lead
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#company ⇒ Object
Returns the value of attribute company.
-
#email ⇒ Object
Returns the value of attribute email.
-
#endorser ⇒ Object
Returns the value of attribute endorser.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#internet_source ⇒ Object
Returns the value of attribute internet_source.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#original_endorser ⇒ Object
Returns the value of attribute original_endorser.
-
#original_source ⇒ Object
Returns the value of attribute original_source.
-
#page_url ⇒ Object
Returns the value of attribute page_url.
-
#page_variant ⇒ Object
Returns the value of attribute page_variant.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
-
#search_adgroup ⇒ Object
Returns the value of attribute search_adgroup.
-
#search_campaign ⇒ Object
Returns the value of attribute search_campaign.
-
#search_keyword ⇒ Object
Returns the value of attribute search_keyword.
-
#search_source ⇒ Object
Returns the value of attribute search_source.
-
#session_uuid ⇒ Object
Returns the value of attribute session_uuid.
-
#source ⇒ Object
Returns the value of attribute source.
-
#state ⇒ Object
Returns the value of attribute state.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unbounce_page_id ⇒ Object
Returns the value of attribute unbounce_page_id.
-
#working_with_realtor ⇒ Object
Returns the value of attribute working_with_realtor.
-
#zip ⇒ Object
Returns the value of attribute zip.
Instance Method Summary collapse
Methods inherited from Base
Methods included from Models::Concerns::TypeSetter
Constructor Details
This class inherits a constructor from AFCSalesforce::Base
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def city @city end |
#company ⇒ Object
Returns the value of attribute company.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def company @company end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def email @email end |
#endorser ⇒ Object
Returns the value of attribute endorser.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def endorser @endorser end |
#first_name ⇒ Object
Returns the value of attribute first_name.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def first_name @first_name end |
#internet_source ⇒ Object
Returns the value of attribute internet_source.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def internet_source @internet_source end |
#last_name ⇒ Object
Returns the value of attribute last_name.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def last_name @last_name end |
#original_endorser ⇒ Object
Returns the value of attribute original_endorser.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def original_endorser @original_endorser end |
#original_source ⇒ Object
Returns the value of attribute original_source.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def original_source @original_source end |
#page_url ⇒ Object
Returns the value of attribute page_url.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def page_url @page_url end |
#page_variant ⇒ Object
Returns the value of attribute page_variant.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def page_variant @page_variant end |
#phone ⇒ Object
Returns the value of attribute phone.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def phone @phone end |
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def redirect_url @redirect_url end |
#search_adgroup ⇒ Object
Returns the value of attribute search_adgroup.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def search_adgroup @search_adgroup end |
#search_campaign ⇒ Object
Returns the value of attribute search_campaign.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def search_campaign @search_campaign end |
#search_keyword ⇒ Object
Returns the value of attribute search_keyword.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def search_keyword @search_keyword end |
#search_source ⇒ Object
Returns the value of attribute search_source.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def search_source @search_source end |
#session_uuid ⇒ Object
Returns the value of attribute session_uuid.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def session_uuid @session_uuid end |
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def source @source end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def state @state end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def type @type end |
#unbounce_page_id ⇒ Object
Returns the value of attribute unbounce_page_id.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def unbounce_page_id @unbounce_page_id end |
#working_with_realtor ⇒ Object
Returns the value of attribute working_with_realtor.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def working_with_realtor @working_with_realtor end |
#zip ⇒ Object
Returns the value of attribute zip.
3 4 5 |
# File 'lib/afc_salesforce/lead.rb', line 3 def zip @zip end |
Instance Method Details
#to_h ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/afc_salesforce/lead.rb', line 28 def to_h AFCSalesforce::Models::Lead.new( city: @city, company: @company, email: @email, endorser__c: @endorser, firstname: @first_name, internetsource__c: @internet_source, lastname: @last_name, original_endorser__c: @original_endorser, original_source__c: @original_source, page_url__c: @page_url, page_variant__c: @page_variant, phone: @phone, postalcode: @zip, redirect_url__c: @redirect_url, searchadgroup__c: @search_adgroup, searchcampaign__c: @search_campaign, searchkeyword__c: @search_keyword, searchsource__c: @search_source, session_uuid__c: @session_uuid, source__c: @source, state: @state, type__c: @type, unbounce_page_id__c: @unbounce_page_id, working_with_realtor__c: @working_with_realtor ).to_h end |