module LeadMapping
Public Instance Methods
map_from(rd_lead)
click to toggle source
# File lib/crm_integration/lead_mapping.rb, line 3 def map_from(rd_lead) { first_name: rd_lead.first_name, last_name: rd_lead.last_name, company: rd_lead.company, email: rd_lead.email, designation: rd_lead.job_title, phone: rd_lead.phone, website: rd_lead.website } end