Module: PortfolioManager::REST::Customer

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

Overview

Customer services

Instance Method Summary collapse

Instance Method Details

#customer(customer_id) ⇒ Object

Returns general account information for a specific customer that you are connected to.

portfoliomanager.energystar.gov/webservices/home/api/account/customer/get



25
26
27
# File 'lib/portfolio_manager/rest/customer.rb', line 25

def customer(customer_id)
  perform_get_request("/customer/#{customer_id}")
end

#customer_listObject

Returns a list of customers that you are connected to.



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

def customer_list
  perform_get_request('/customer/list')
end