Class: ADF::Prospect

Inherits:
Object
  • Object
show all
Defined in:
lib/prospect.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_date) ⇒ Prospect

Returns a new instance of Prospect.



26
27
28
# File 'lib/prospect.rb', line 26

def initialize(request_date)
  @request_date = request_date
end

Instance Attribute Details

#customer_emailObject

Returns the value of attribute customer_email.



24
25
26
# File 'lib/prospect.rb', line 24

def customer_email
  @customer_email
end

#customer_firstObject

Returns the value of attribute customer_first.



24
25
26
# File 'lib/prospect.rb', line 24

def customer_first
  @customer_first
end

#customer_lastObject

Returns the value of attribute customer_last.



24
25
26
# File 'lib/prospect.rb', line 24

def customer_last
  @customer_last
end

#customer_phoneObject

Returns the value of attribute customer_phone.



24
25
26
# File 'lib/prospect.rb', line 24

def customer_phone
  @customer_phone
end

#request_dateObject

Returns the value of attribute request_date.



24
25
26
# File 'lib/prospect.rb', line 24

def request_date
  @request_date
end

Instance Method Details

#set_customer(first, last, phone, email) ⇒ Object



30
31
32
33
34
35
# File 'lib/prospect.rb', line 30

def set_customer(first, last, phone, email)
  @customer_first = first
  @customer_last = last
  @customer_phone = phone
  @customer_email = email
end