Class: Snov::GetProfileByEmail::ProspectResult
- Inherits:
-
Object
- Object
- Snov::GetProfileByEmail::ProspectResult
- Includes:
- ActiveModel::Model
- Defined in:
- lib/snov/get_profile_by_email.rb
Instance Attribute Summary collapse
-
#country ⇒ Object
Returns the value of attribute country.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#industry ⇒ Object
Returns the value of attribute industry.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#last_update_date ⇒ Object
Returns the value of attribute last_update_date.
-
#locality ⇒ Object
Returns the value of attribute locality.
-
#logo ⇒ Object
Returns the value of attribute logo.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
-
#result ⇒ Object
Returns the value of attribute result.
-
#source ⇒ Object
Returns the value of attribute source.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
- #current_jobs ⇒ Object
- #current_jobs=(val) ⇒ Object
- #previous_jobs ⇒ Object
- #previous_jobs=(val) ⇒ Object
- #social ⇒ Object
- #social=(val) ⇒ Object
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
57 58 59 |
# File 'lib/snov/get_profile_by_email.rb', line 57 def country @country end |
#first_name ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
57 58 59 |
# File 'lib/snov/get_profile_by_email.rb', line 57 def id @id end |
#industry ⇒ Object
Returns the value of attribute industry.
57 58 59 |
# File 'lib/snov/get_profile_by_email.rb', line 57 def industry @industry end |
#last_name ⇒ Object
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_date ⇒ Object
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 |
#locality ⇒ Object
Returns the value of attribute locality.
57 58 59 |
# File 'lib/snov/get_profile_by_email.rb', line 57 def locality @locality end |
#logo ⇒ Object
Returns the value of attribute logo.
58 59 60 |
# File 'lib/snov/get_profile_by_email.rb', line 58 def logo @logo end |
#message ⇒ Object
Returns the value of attribute message.
58 59 60 |
# File 'lib/snov/get_profile_by_email.rb', line 58 def end |
#name ⇒ Object
Returns the value of attribute name.
57 58 59 |
# File 'lib/snov/get_profile_by_email.rb', line 57 def name @name end |
#result ⇒ Object
Returns the value of attribute result.
58 59 60 |
# File 'lib/snov/get_profile_by_email.rb', line 58 def result @result end |
#source ⇒ Object
Returns the value of attribute source.
57 58 59 |
# File 'lib/snov/get_profile_by_email.rb', line 57 def source @source end |
#success ⇒ Object
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_jobs ⇒ Object
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_jobs ⇒ Object
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 |
#social ⇒ Object
60 61 62 |
# File 'lib/snov/get_profile_by_email.rb', line 60 def Array.wrap() end |
#social=(val) ⇒ Object
64 65 66 67 68 |
# File 'lib/snov/get_profile_by_email.rb', line 64 def (val) = Array.wrap(val).map do |rel| Social.new(rel) end end |