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.



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

def emails
  @emails
end

#first_nameObject

Returns the value of attribute first_name.



45
46
47
# File 'lib/snov/get_prospect_list.rb', line 45

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



45
46
47
# File 'lib/snov/get_prospect_list.rb', line 45

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name.



45
46
47
# File 'lib/snov/get_prospect_list.rb', line 45

def last_name
  @last_name
end

#nameObject

Returns the value of attribute name.



45
46
47
# File 'lib/snov/get_prospect_list.rb', line 45

def name
  @name
end

#sourceObject

Returns the value of attribute source.



45
46
47
# File 'lib/snov/get_prospect_list.rb', line 45

def source
  @source
end

Instance Method Details

#emailObject



54
55
56
# File 'lib/snov/get_prospect_list.rb', line 54

def email
  emails.first&.email
end