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.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def country @country end |
#first_name ⇒ Object
Returns the value of attribute first_name.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def id @id end |
#industry ⇒ Object
Returns the value of attribute industry.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def industry @industry end |
#last_name ⇒ Object
Returns the value of attribute last_name.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def last_name @last_name end |
#last_update_date ⇒ Object
Returns the value of attribute last_update_date.
51 52 53 |
# File 'lib/snov/get_prospects_by_email.rb', line 51 def last_update_date @last_update_date end |
#locality ⇒ Object
Returns the value of attribute locality.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def locality @locality end |
#name ⇒ Object
Returns the value of attribute name.
50 51 52 |
# File 'lib/snov/get_prospects_by_email.rb', line 50 def name @name end |
Instance Method Details
#campaigns ⇒ Object
93 94 95 |
# File 'lib/snov/get_prospects_by_email.rb', line 93 def campaigns Array.wrap(@lists) end |
#campaigns=(val) ⇒ Object
97 98 99 100 101 |
# File 'lib/snov/get_prospects_by_email.rb', line 97 def campaigns=(val) @campaigns = Array.wrap(val).map do |rel| OpenStruct.new(rel) end end |
#current_job ⇒ Object
63 64 65 |
# File 'lib/snov/get_prospects_by_email.rb', line 63 def current_job Array.wrap(@current_job) end |
#current_job=(val) ⇒ Object
67 68 69 70 71 |
# File 'lib/snov/get_prospects_by_email.rb', line 67 def current_job=(val) @current_job = Array.wrap(val).map do |rel| Job.new(rel) end end |
#lists ⇒ Object
83 84 85 |
# File 'lib/snov/get_prospects_by_email.rb', line 83 def lists Array.wrap(@lists) end |
#lists=(val) ⇒ Object
87 88 89 90 91 |
# File 'lib/snov/get_prospects_by_email.rb', line 87 def lists=(val) @lists = Array.wrap(val).map do |rel| List.new(rel) end end |
#previous_job ⇒ Object
73 74 75 |
# File 'lib/snov/get_prospects_by_email.rb', line 73 def previous_job Array.wrap(@previous_job) end |
#previous_job=(val) ⇒ Object
77 78 79 80 81 |
# File 'lib/snov/get_prospects_by_email.rb', line 77 def previous_job=(val) @previous_job = Array.wrap(val).map do |rel| Job.new(rel) end end |
#social ⇒ Object
53 54 55 |
# File 'lib/snov/get_prospects_by_email.rb', line 53 def Array.wrap() end |
#social=(val) ⇒ Object
57 58 59 60 61 |
# File 'lib/snov/get_prospects_by_email.rb', line 57 def (val) = Array.wrap(val).map do |rel| Social.new(rel) end end |