Sha256: 3382ad580379c4b8e7a86c57f9a25071239e802a1a9bc5db4fc9da8867a43816
Contents?: true
Size: 1 KB
Versions: 2
Compression:
Stored size: 1 KB
Contents
# frozen_string_literal: true require 'portfolio_manager/rest/utils' module PortfolioManager module REST ## # Building services # @see http://portfoliomanager.energystar.gov/webservices/home/api/building module Building include PortfolioManager::REST::Utils ## # This web service retrieves information for a specific building. The # building must already be shared with you. # # @see http://portfoliomanager.energystar.gov/webservices/home/api/building/building/get # @param [String, Integer] building_id def building(building_id) perform_get_request("/building/#{building_id}") end ## # This web service returns a list of buildings for a specific property # that is shared with you. # # @see http://portfoliomanager.energystar.gov/webservices/home/api/building/buildingList/get def building_list(property_id) perform_get_request("/property/#{property_id}/building/list") 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/building.rb |
portfolio_manager-0.4.0 | lib/portfolio_manager/rest/building.rb |