Class: Yardi::Parameter::ContactInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email:, cell_phone: nil, home_phone: nil) ⇒ ContactInfo

Returns a new instance of ContactInfo.



6
7
8
9
10
# File 'lib/yardi/parameter/contact_info.rb', line 6

def initialize(email:, cell_phone: nil, home_phone: nil)
  @email = email
  @cell_phone = cell_phone
  @home_phone = home_phone
end

Instance Attribute Details

#cell_phoneObject (readonly)

Returns the value of attribute cell_phone.



4
5
6
# File 'lib/yardi/parameter/contact_info.rb', line 4

def cell_phone
  @cell_phone
end

#emailObject (readonly)

Returns the value of attribute email.



4
5
6
# File 'lib/yardi/parameter/contact_info.rb', line 4

def email
  @email
end

#home_phoneObject (readonly)

Returns the value of attribute home_phone.



4
5
6
# File 'lib/yardi/parameter/contact_info.rb', line 4

def home_phone
  @home_phone
end