Sha256: 12c572fe039b5ac511dec1d2a5c7a41e47be97b40ece9a3901b214961480774f
Contents?: true
Size: 504 Bytes
Versions: 42
Compression:
Stored size: 504 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? fail FinAppsCore::InvalidArgumentsError, 'Invalid argument: params' unless params.is_a? Hash super build_query_path(path, params) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems