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.
-
#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.
61 62 63 |
# File 'lib/snov/get_profile_by_email.rb', line 61 def country @country end |
#first_name ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
61 62 63 |
# File 'lib/snov/get_profile_by_email.rb', line 61 def id @id end |
#industry ⇒ Object
Returns the value of attribute industry.
61 62 63 |
# File 'lib/snov/get_profile_by_email.rb', line 61 def industry @industry end |
#last_name ⇒ Object
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_date ⇒ Object
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 |
#locality ⇒ Object
Returns the value of attribute locality.
61 62 63 |
# File 'lib/snov/get_profile_by_email.rb', line 61 def locality @locality end |
#logo ⇒ Object
Returns the value of attribute logo.
62 63 64 |
# File 'lib/snov/get_profile_by_email.rb', line 62 def logo @logo end |
#message ⇒ Object
Returns the value of attribute message.
62 63 64 |
# File 'lib/snov/get_profile_by_email.rb', line 62 def @message end |
#name ⇒ Object
Returns the value of attribute name.
61 62 63 |
# File 'lib/snov/get_profile_by_email.rb', line 61 def name @name end |
#source ⇒ Object
Returns the value of attribute source.
61 62 63 |
# File 'lib/snov/get_profile_by_email.rb', line 61 def source @source end |
#success ⇒ Object
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_jobs ⇒ Object
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_jobs ⇒ Object
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 |
#social ⇒ Object
64 65 66 |
# File 'lib/snov/get_profile_by_email.rb', line 64 def Array.wrap(@social) end |