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



23
24
25
# File 'lib/portfolio_manager/rest/customer.rb', line 23

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

#customer_listObject

Returns a list of customers that you are connected to.



15
16
17
# File 'lib/portfolio_manager/rest/customer.rb', line 15

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