Class: Snov::GetProspectsByEmail::ProspectResult
- Inherits:
-
Object
- Object
- Snov::GetProspectsByEmail::ProspectResult
- Includes:
- ActiveModel::Model
- Defined in:
- lib/snov/get_prospects_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.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #campaigns ⇒ Object
- #campaigns=(val) ⇒ Object
- #current_job ⇒ Object
- #current_job=(val) ⇒ Object
- #lists ⇒ Object
- #lists=(val) ⇒ Object
- #previous_job ⇒ Object
- #previous_job=(val) ⇒ Object
- #social ⇒ Object
- #social=(val) ⇒ Object
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def country @country end |
#first_name ⇒ Object
Returns the value of attribute first_name.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def id @id end |
#industry ⇒ Object
Returns the value of attribute industry.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def industry @industry end |
#last_name ⇒ Object
Returns the value of attribute last_name.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def last_name @last_name end |
#last_update_date ⇒ Object
Returns the value of attribute last_update_date.
55 56 57 |
# File 'lib/snov/get_prospects_by_email.rb', line 55 def last_update_date @last_update_date end |
#locality ⇒ Object
Returns the value of attribute locality.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def locality @locality end |
#name ⇒ Object
Returns the value of attribute name.
54 55 56 |
# File 'lib/snov/get_prospects_by_email.rb', line 54 def name @name end |
Instance Method Details
#campaigns ⇒ Object
97 98 99 |
# File 'lib/snov/get_prospects_by_email.rb', line 97 def campaigns Array.wrap(@lists) end |
#campaigns=(val) ⇒ Object
101 102 103 104 105 |
# 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 ⇒ Object
67 68 69 |
# File 'lib/snov/get_prospects_by_email.rb', line 67 def current_job Array.wrap(@current_job) end |
#current_job=(val) ⇒ Object
71 72 73 74 75 |
# 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 |
#lists ⇒ Object
87 88 89 |
# File 'lib/snov/get_prospects_by_email.rb', line 87 def lists Array.wrap(@lists) end |
#lists=(val) ⇒ Object
91 92 93 94 95 |
# 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 ⇒ Object
77 78 79 |
# File 'lib/snov/get_prospects_by_email.rb', line 77 def previous_job Array.wrap(@previous_job) end |
#previous_job=(val) ⇒ Object
81 82 83 84 85 |
# 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 ⇒ Object
57 58 59 |
# File 'lib/snov/get_prospects_by_email.rb', line 57 def Array.wrap(@social) end |