Class: ProsperWorks::Lead

Inherits:
BaseEntity show all
Defined in:
lib/prosperworks/lead.rb

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#assignee_id, #custom_fields, #date_modified, #details, #name, #tags

Attributes inherited from Base

#date_created, #id

Class Method Summary collapse

Methods included from ApiOperations::Create

#create

Methods included from ApiOperations::Connect

#get_uri, #handle_multiple_response, #handle_response, #send_request

Methods included from ApiOperations::Delete

#delete, #handle_delete_response

Methods included from ApiOperations::Find

#find

Methods included from ApiOperations::Update

#update

Methods included from ApiOperations::Search

#search

Methods inherited from Base

client, #initialize, #set_attributes

Methods included from SerializeEntity

#to_json

Constructor Details

This class inherits a constructor from ProsperWorks::Base

Instance Attribute Details

#addressObject

Returns the value of attribute address.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def address
  @address
end

#company_nameObject

Returns the value of attribute company_name.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def company_name
  @company_name
end

#customer_source_idObject

Returns the value of attribute customer_source_id.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def customer_source_id
  @customer_source_id
end

#date_last_contactedObject

Returns the value of attribute date_last_contacted.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def date_last_contacted
  @date_last_contacted
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def first_name
  @first_name
end

#interaction_countObject

Returns the value of attribute interaction_count.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def interaction_count
  @interaction_count
end

#last_nameObject

Returns the value of attribute last_name.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def last_name
  @last_name
end

#middle_nameObject

Returns the value of attribute middle_name.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def middle_name
  @middle_name
end

#monetary_valueObject

Returns the value of attribute monetary_value.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def monetary_value
  @monetary_value
end

#phone_numbersObject

Returns the value of attribute phone_numbers.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def phone_numbers
  @phone_numbers
end

#prefixObject

Returns the value of attribute prefix.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def prefix
  @prefix
end

#socialsObject

Returns the value of attribute socials.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def socials
  @socials
end

#statusObject

Returns the value of attribute status.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def status
  @status
end

#status_idObject

Returns the value of attribute status_id.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def status_id
  @status_id
end

#suffixObject

Returns the value of attribute suffix.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def suffix
  @suffix
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def title
  @title
end

#websitesObject

Returns the value of attribute websites.



4
5
6
# File 'lib/prosperworks/lead.rb', line 4

def websites
  @websites
end

Class Method Details

.api_nameObject



25
26
27
# File 'lib/prosperworks/lead.rb', line 25

def self.api_name
  "leads"
end