Sha256: 4aad9c66394b8d5d0d710eaa862dbfb996b6d4b17e3bdcb5d04165de32e61c97
Contents?: true
Size: 505 Bytes
Versions: 41
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module FinApps module REST class ConsumersPortfolios < FinAppsCore::REST::Resources include FinApps::Utils::QueryBuilder def list(id, params = nil) not_blank(id) path = "consumers/#{ERB::Util.url_encode(id)}/portfolios" return super path if params.nil? raise FinAppsCore::InvalidArgumentsError, 'Invalid argument: params' unless params.is_a? Hash super build_query_path(path, params) end end end end
Version data entries
41 entries across 41 versions & 1 rubygems