Sha256: 81694722ec71fbbc914531055333ca937b838c82b9cfc8deff27150dd61c557c

Contents?: true

Size: 444 Bytes

Versions: 41

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

module FinApps
  module REST
    class PortfolioReports < FinAppsCore::REST::Resources
      include FinApps::Utils::QueryBuilder

      def list(params = nil)
        path = 'portfolio/reports'

        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

Version Path
finapps-4.0.7 lib/finapps/rest/portfolio_reports.rb