Class: Yardi::RequestSection::Residents
- Inherits:
-
Object
- Object
- Yardi::RequestSection::Residents
- Defined in:
- lib/yardi/request_section/residents.rb
Overview
Generate the data needed for a GetResidents call
Instance Attribute Summary collapse
-
#property_id ⇒ Object
readonly
Returns the value of attribute property_id.
Instance Method Summary collapse
- #generate(xml_builder) ⇒ Object
-
#initialize(property_id:) ⇒ Residents
constructor
A new instance of Residents.
Constructor Details
#initialize(property_id:) ⇒ Residents
Returns a new instance of Residents.
9 10 11 |
# File 'lib/yardi/request_section/residents.rb', line 9 def initialize(property_id:) @property_id = property_id end |
Instance Attribute Details
#property_id ⇒ Object (readonly)
Returns the value of attribute property_id.
7 8 9 |
# File 'lib/yardi/request_section/residents.rb', line 7 def property_id @property_id end |
Instance Method Details
#generate(xml_builder) ⇒ Object
13 14 15 |
# File 'lib/yardi/request_section/residents.rb', line 13 def generate(xml_builder) xml_builder['itf'].YardiPropertyId property_id end |