Class: ADF::Prospect
- Inherits:
-
Object
- Object
- ADF::Prospect
- Defined in:
- lib/prospect.rb
Instance Attribute Summary collapse
-
#customer_email ⇒ Object
Returns the value of attribute customer_email.
-
#customer_first ⇒ Object
Returns the value of attribute customer_first.
-
#customer_last ⇒ Object
Returns the value of attribute customer_last.
-
#customer_phone ⇒ Object
Returns the value of attribute customer_phone.
-
#request_date ⇒ Object
Returns the value of attribute request_date.
Instance Method Summary collapse
-
#initialize(request_date) ⇒ Prospect
constructor
A new instance of Prospect.
- #set_customer(first, last, phone, email) ⇒ Object
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_email ⇒ Object
Returns the value of attribute customer_email.
24 25 26 |
# File 'lib/prospect.rb', line 24 def customer_email @customer_email end |
#customer_first ⇒ Object
Returns the value of attribute customer_first.
24 25 26 |
# File 'lib/prospect.rb', line 24 def customer_first @customer_first end |
#customer_last ⇒ Object
Returns the value of attribute customer_last.
24 25 26 |
# File 'lib/prospect.rb', line 24 def customer_last @customer_last end |
#customer_phone ⇒ Object
Returns the value of attribute customer_phone.
24 25 26 |
# File 'lib/prospect.rb', line 24 def customer_phone @customer_phone end |
#request_date ⇒ Object
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 |