class Snov::GetProspectsByEmail::ProspectResult

Attributes

country[RW]
first_name[RW]
id[RW]
industry[RW]
last_name[RW]
last_update_date[R]
locality[RW]
name[RW]

Public Instance Methods

campaigns() click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 97
def campaigns
  Array.wrap(@lists)
end
campaigns=(val) click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 101
def campaigns=(val)
  @campaigns = Array.wrap(val).map do |rel|
    OpenStruct.new(rel)
  end
end
current_job() click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 67
def current_job
  Array.wrap(@current_job)
end
current_job=(val) click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 71
def current_job=(val)
  @current_job = Array.wrap(val).map do |rel|
    Job.new(rel)
  end
end
last_update_date=(val) click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 107
def last_update_date=(val)
  @last_update_date = Types::DateDetails.new(val.to_hash)
end
lists() click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 87
def lists
  Array.wrap(@lists)
end
lists=(val) click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 91
def lists=(val)
  @lists = Array.wrap(val).map do |rel|
    List.new(rel)
  end
end
previous_job() click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 77
def previous_job
  Array.wrap(@previous_job)
end
previous_job=(val) click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 81
def previous_job=(val)
  @previous_job = Array.wrap(val).map do |rel|
    Job.new(rel)
  end
end
social() click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 57
def social
  Array.wrap(@social)
end
social=(val) click to toggle source
# File lib/snov/get_prospects_by_email.rb, line 61
def social=(val)
  @social = Array.wrap(val).map do |rel|
    Social.new(rel)
  end
end