Module: PortfolioManager::REST::Building
Overview
Building services
Instance Method Summary collapse
-
#building(building_id) ⇒ Object
This web service retrieves information for a specific building.
-
#building_list(property_id) ⇒ Object
This web service returns a list of buildings for a specific property that is shared with you.
Instance Method Details
#building(building_id) ⇒ Object
This web service retrieves information for a specific building. The building must already be shared with you.
19 20 21 |
# File 'lib/portfolio_manager/rest/building.rb', line 19 def building(building_id) perform_get_request("/building/#{building_id}") end |
#building_list(property_id) ⇒ Object
This web service returns a list of buildings for a specific property that is shared with you.
28 29 30 |
# File 'lib/portfolio_manager/rest/building.rb', line 28 def building_list(property_id) perform_get_request("/property/#{property_id}/building/list") end |