Module: PortfolioManager::REST::Property

Includes:
Utils
Included in:
API
Defined in:
lib/portfolio_manager/rest/property.rb

Overview

Property services

Instance Method Summary collapse

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.



27
28
29
# File 'lib/portfolio_manager/rest/property.rb', line 27

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.



17
18
19
# File 'lib/portfolio_manager/rest/property.rb', line 17

def property_list()
  perform_get_request("/account/#{}/property/list")
end