Module: PortfolioManager::REST::Customer
Overview
Customer services
Instance Method Summary collapse
-
#customer(customer_id) ⇒ Object
Returns general account information for a specific customer that you are connected to.
-
#customer_list ⇒ Object
Returns a list of customers that you are connected to.
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_list ⇒ Object
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 |