Sha256: 1162828387c0d1321af9ca5051da795f2ca8f0cc4d5bb82dd4537d445c40ffd8
Contents?: true
Size: 637 Bytes
Versions: 42
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true module FinApps module REST class AlertOccurrences < FinAppsCore::REST::Resources include FinApps::Utils::QueryBuilder END_POINT = 'portfolio/alerts/occurrences' def list(params = nil) return super END_POINT if params.nil? fail FinAppsCore::InvalidArgumentsError, 'Invalid argument: params' unless params.is_a? Hash super build_query_path(END_POINT, params) end private def build_filter(params) filter = {} filter[:portfolio_id] = params[:portfolio_id] if params[:portfolio_id] filter end end end end
Version data entries
42 entries across 42 versions & 1 rubygems