Sha256: 07a0fac42fa36787a669a6ac8564046cbbe406771edba7d112100b5763125f47

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true

require 'portfolio_manager/rest/utils'

module PortfolioManager
  module REST
    ##
    # Advanced Settings for Organizations Exchanging Data
    # @see http://portfoliomanager.energystar.gov/webservices/home/api/account
    module DataExchangeSettings
      include PortfolioManager::REST::Utils
      ##
      # This web service retrieves the various settings that describes your data
      # exchange service offerings such as terms and conditions, supported fuel
      # types, etc.
      #
      # @see http://portfoliomanager.energystar.gov/webservices/home/api/account/settings/get
      def data_exchange_settings
        perform_get_request('/dataExchangeSettings')
      end

      ##
      # This web service returns a list of custom fields that are used by your
      # account. These custom fields allow you to gather more data from your
      # customers as they send connection and share requests to you.
      #
      # @see http://portfoliomanager.energystar.gov/webservices/home/api/account/customFieldList/get
      def data_exchange_custom_field_list
        perform_get_request('/dataExchangeSettings/customField/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/data_exchange_settings.rb
portfolio_manager-0.4.0 lib/portfolio_manager/rest/data_exchange_settings.rb