Class: Yardi::Parameter::Prospect

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#emailObject (readonly)

Returns the value of attribute email.



8
9
10
# File 'lib/yardi/parameter/prospect.rb', line 8

def email
  @email
end

#first_nameObject (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_nameObject (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

#phoneObject (readonly)

Returns the value of attribute phone.



8
9
10
# File 'lib/yardi/parameter/prospect.rb', line 8

def phone
  @phone
end

#phonesObject (readonly)

Returns the value of attribute phones.



8
9
10
# File 'lib/yardi/parameter/prospect.rb', line 8

def phones
  @phones
end

#yardi_prospect_idObject (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