Class: Snov::GetEmailsBySocialUrl::ProspectData

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
lib/snov/get_emails_by_social_url.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countryObject

Returns the value of attribute country.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def country
  @country
end

#current_jobsObject (readonly)

Returns the value of attribute current_jobs.



47
48
49
# File 'lib/snov/get_emails_by_social_url.rb', line 47

def current_jobs
  @current_jobs
end

#emailsObject

Returns the value of attribute emails.



47
48
49
# File 'lib/snov/get_emails_by_social_url.rb', line 47

def emails
  @emails
end

#first_nameObject

Returns the value of attribute first_name.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def id
  @id
end

#industryObject

Returns the value of attribute industry.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def industry
  @industry
end

#last_nameObject

Returns the value of attribute last_name.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def last_name
  @last_name
end

#last_update_dateObject

Returns the value of attribute last_update_date.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def last_update_date
  @last_update_date
end

Returns the value of attribute links.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def links
  @links
end

#localityObject

Returns the value of attribute locality.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def locality
  @locality
end

#nameObject

Returns the value of attribute name.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def name
  @name
end

#previous_jobsObject (readonly)

Returns the value of attribute previous_jobs.



47
48
49
# File 'lib/snov/get_emails_by_social_url.rb', line 47

def previous_jobs
  @previous_jobs
end

#skillsObject

Returns the value of attribute skills.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def skills
  @skills
end

#socialObject

Returns the value of attribute social.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def social
  @social
end

#sourceObject

Returns the value of attribute source.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def source
  @source
end

#source_pageObject

Returns the value of attribute source_page.



48
49
50
# File 'lib/snov/get_emails_by_social_url.rb', line 48

def source_page
  @source_page
end

Instance Method Details

#current_job=(val) ⇒ Object



61
62
63
# File 'lib/snov/get_emails_by_social_url.rb', line 61

def current_job=(val)
  @current_jobs = ProspectJobList.new(jobs: Array.wrap(val).map { |job| ProspectJob.new(job) })
end

#previous_job=(val) ⇒ Object



57
58
59
# File 'lib/snov/get_emails_by_social_url.rb', line 57

def previous_job=(val)
  @previous_jobs = ProspectJobList.new(jobs: Array.wrap(val).map { |job| ProspectJob.new(job) })
end