Class: FinApps::REST::AlertOccurrences

Inherits:
FinAppsCore::REST::Resources
  • Object
show all
Includes:
Utils::QueryBuilder
Defined in:
lib/finapps/rest/alert_occurrences.rb

Constant Summary collapse

END_POINT =
'portfolio/alerts/occurrences'

Instance Method Summary collapse

Methods included from Utils::QueryBuilder

#build_query_path

Instance Method Details

#list(params = nil) ⇒ Object



9
10
11
12
13
14
# File 'lib/finapps/rest/alert_occurrences.rb', line 9

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