Class: Snov::GetProspectList::ProspectResult

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
lib/snov/get_prospect_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailsObject

Returns the value of attribute emails.



48
49
50
# File 'lib/snov/get_prospect_list.rb', line 48

def emails
  @emails
end

#first_nameObject

Returns the value of attribute first_name.



47
48
49
# File 'lib/snov/get_prospect_list.rb', line 47

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



47
48
49
# File 'lib/snov/get_prospect_list.rb', line 47

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name.



47
48
49
# File 'lib/snov/get_prospect_list.rb', line 47

def last_name
  @last_name
end

#nameObject

Returns the value of attribute name.



47
48
49
# File 'lib/snov/get_prospect_list.rb', line 47

def name
  @name
end

#sourceObject

Returns the value of attribute source.



47
48
49
# File 'lib/snov/get_prospect_list.rb', line 47

def source
  @source
end

Instance Method Details

#emailObject



56
57
58
# File 'lib/snov/get_prospect_list.rb', line 56

def email
  emails.first&.email
end