Class: Yardi::Parameter::Prospect
- Inherits:
-
Object
- Object
- Yardi::Parameter::Prospect
- Defined in:
- lib/yardi/parameter/prospect.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#phone ⇒ Object
readonly
Returns the value of attribute phone.
-
#phones ⇒ Object
readonly
Returns the value of attribute phones.
-
#yardi_prospect_id ⇒ Object
readonly
Returns the value of attribute yardi_prospect_id.
Instance Method Summary collapse
-
#initialize(first_name: nil, last_name: nil, email: nil, phone: nil, phones: nil, yardi_prospect_id: nil) ⇒ Prospect
constructor
A new instance of Prospect.
Constructor Details
#initialize(first_name: nil, last_name: nil, email: nil, phone: nil, phones: nil, yardi_prospect_id: nil) ⇒ Prospect
Returns a new instance of Prospect.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/yardi/parameter/prospect.rb', line 10 def initialize( first_name: nil, last_name: nil, email: nil, phone: nil, phones: nil, yardi_prospect_id: nil ) @first_name = first_name @last_name = last_name @email = email @phone = phone @phones = phones @yardi_prospect_id = yardi_prospect_id end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
8 9 10 |
# File 'lib/yardi/parameter/prospect.rb', line 8 def email @email end |
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name.
8 9 10 |
# File 'lib/yardi/parameter/prospect.rb', line 8 def first_name @first_name end |
#last_name ⇒ Object (readonly)
Returns the value of attribute last_name.
8 9 10 |
# File 'lib/yardi/parameter/prospect.rb', line 8 def last_name @last_name end |
#phone ⇒ Object (readonly)
Returns the value of attribute phone.
8 9 10 |
# File 'lib/yardi/parameter/prospect.rb', line 8 def phone @phone end |
#phones ⇒ Object (readonly)
Returns the value of attribute phones.
8 9 10 |
# File 'lib/yardi/parameter/prospect.rb', line 8 def phones @phones end |
#yardi_prospect_id ⇒ Object (readonly)
Returns the value of attribute yardi_prospect_id.
8 9 10 |
# File 'lib/yardi/parameter/prospect.rb', line 8 def yardi_prospect_id @yardi_prospect_id end |