Sha256: 92486f87315a3d5dff9de2051f5ad33e6fa2d9bf3995d8ea0acd4c7ce39ba81c
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
# frozen_string_literal: true require 'portfolio_manager/rest/utils' module PortfolioManager module REST ## # Property services # @see http://portfoliomanager.energystar.gov/webservices/home/api/property module Property include PortfolioManager::REST::Utils ## # This web service returns a list of properties for a specific customer # that are shared with you. # # @see http://portfoliomanager.energystar.gov/webservices/home/api/property/propertyList/get # @param [String, Integer] account_id def property_list(account_id) perform_get_request("/account/#{account_id}/property/list") end ## # 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. # # @see http://portfoliomanager.energystar.gov/webservices/home/api/property/property/get def property(property_id) perform_get_request("/property/#{property_id}") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
portfolio_manager-0.5.0 | lib/portfolio_manager/rest/property.rb |
portfolio_manager-0.4.0 | lib/portfolio_manager/rest/property.rb |