Sha256: 7cae4b39a79655342af7e47a0531c6af277a0f7e2da682690a55e95a58f4c1ff

Contents?: true

Size: 443 Bytes

Versions: 42

Compression:

Stored size: 443 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?
        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

Version Path
finapps-5.0.34 lib/finapps/rest/portfolio_reports.rb
finapps-5.0.33 lib/finapps/rest/portfolio_reports.rb