Sha256: daa642a644d61202a2dfe2b1fdf074317081092412e0bfca348bdaf5d17caed8
Contents?: true
Size: 638 Bytes
Versions: 40
Compression:
Stored size: 638 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? raise 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
40 entries across 40 versions & 1 rubygems