Class: Snov::GetProfileByEmail::ProspectResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#industryObject

Returns the value of attribute industry.



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

def industry
  @industry
end

#last_nameObject

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#last_update_dateObject

Returns the value of attribute last_update_date.



62
63
64
# File 'lib/snov/get_profile_by_email.rb', line 62

def last_update_date
  @last_update_date
end

#localityObject

Returns the value of attribute locality.



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

def locality
  @locality
end

#logoObject

Returns the value of attribute logo.



62
63
64
# File 'lib/snov/get_profile_by_email.rb', line 62

def 
  @logo
end

#messageObject

Returns the value of attribute message.



62
63
64
# File 'lib/snov/get_profile_by_email.rb', line 62

def message
  @message
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#sourceObject

Returns the value of attribute source.



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

def source
  @source
end

#successObject

Returns the value of attribute success.



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

def success
  @success
end

Instance Method Details

#current_jobsObject



74
75
76
# File 'lib/snov/get_profile_by_email.rb', line 74

def current_jobs
  Array.wrap(@current_jobs)
end

#current_jobs=(val) ⇒ Object



78
79
80
81
82
# File 'lib/snov/get_profile_by_email.rb', line 78

def current_jobs=(val)
  @current_jobs = Array.wrap(val).map do |rel|
    Job.new(rel)
  end
end

#previous_jobsObject



84
85
86
# File 'lib/snov/get_profile_by_email.rb', line 84

def previous_jobs
  Array.wrap(@previous_jobs)
end

#previous_jobs=(val) ⇒ Object



88
89
90
91
92
# File 'lib/snov/get_profile_by_email.rb', line 88

def previous_jobs=(val)
  @previous_jobs = Array.wrap(val).map do |rel|
    Job.new(rel)
  end
end

#socialObject



64
65
66
# File 'lib/snov/get_profile_by_email.rb', line 64

def social
  Array.wrap(@social)
end

#social=(val) ⇒ Object



68
69
70
71
72
# File 'lib/snov/get_profile_by_email.rb', line 68

def social=(val)
  @social = Array.wrap(val).map do |rel|
    Social.new(rel)
  end
end