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.



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

def country
  @country
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#industryObject

Returns the value of attribute industry.



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

def industry
  @industry
end

#last_nameObject

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#last_update_dateObject

Returns the value of attribute last_update_date.



58
59
60
# File 'lib/snov/get_profile_by_email.rb', line 58

def last_update_date
  @last_update_date
end

#localityObject

Returns the value of attribute locality.



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

def locality
  @locality
end

#logoObject

Returns the value of attribute logo.



58
59
60
# File 'lib/snov/get_profile_by_email.rb', line 58

def 
  
end

#messageObject

Returns the value of attribute message.



58
59
60
# File 'lib/snov/get_profile_by_email.rb', line 58

def message
  @message
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#resultObject

Returns the value of attribute result.



58
59
60
# File 'lib/snov/get_profile_by_email.rb', line 58

def result
  @result
end

#sourceObject

Returns the value of attribute source.



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

def source
  @source
end

#successObject

Returns the value of attribute success.



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

def success
  @success
end

Instance Method Details

#current_jobsObject



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

def current_jobs
  Array.wrap(@current_jobs)
end

#current_jobs=(val) ⇒ Object



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

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

#previous_jobsObject



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

def previous_jobs
  Array.wrap(@previous_jobs)
end

#previous_jobs=(val) ⇒ Object



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

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

#socialObject



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

def social
  Array.wrap(@social)
end

#social=(val) ⇒ Object



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

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