Module: PortfolioManager::REST::Property
Overview
Property services
Instance Method Summary collapse
-
#property(property_id) ⇒ Object
This web service retrieves information for a specific property.
-
#property_list(account_id) ⇒ Object
This web service returns a list of properties for a specific customer that are shared with you.
Instance Method Details
#property(property_id) ⇒ Object
This web service retrieves information for a specific property. The property must already be shared with you. This service can also be used for to retrieve information on a building.
29 30 31 |
# File 'lib/portfolio_manager/rest/property.rb', line 29 def property(property_id) perform_get_request("/property/#{property_id}") end |
#property_list(account_id) ⇒ Object
This web service returns a list of properties for a specific customer that are shared with you.
19 20 21 |
# File 'lib/portfolio_manager/rest/property.rb', line 19 def property_list(account_id) perform_get_request("/account/#{account_id}/property/list") end |