class RealPage::Request::GetUnitsByProperty

Retrieve marketing sources information for a specific property. Marketing sources are also referred to as traffic sources throughout RealPage.

Required intializer parameters:

@param pmc_id [String] the unique identifier for the property management

company in RealPage

@param site_id [String] the unique identifier for the property in RealPage

Optional initializer parameters:

@param list_criteria [Array<RealPage::Parameter::ListCriterion>] the query

criteria

Attributes

list_criteria[R]

Private Instance Methods

after_initialize(params) click to toggle source
# File lib/real_page/request/get_units_by_property.rb, line 26
def after_initialize(params)
  @list_criteria = params[:list_criteria] || []
end
parser() click to toggle source
# File lib/real_page/request/get_units_by_property.rb, line 34
def parser
  DocumentParser::UnitObject.new
end
sections() click to toggle source
# File lib/real_page/request/get_units_by_property.rb, line 30
def sections
  [RequestSection::ListCriteria.new(list_criteria: list_criteria)]
end