Class: AlertManagement::HttpIntegrationsFinder

Inherits:
Object
  • Object
show all
Defined in:
app/finders/alert_management/http_integrations_finder.rb

Instance Method Summary collapse

Constructor Details

#initialize(project, params) ⇒ HttpIntegrationsFinder

Returns a new instance of HttpIntegrationsFinder.


5
6
7
8
# File 'app/finders/alert_management/http_integrations_finder.rb', line 5

def initialize(project, params)
  @project = project
  @params = params
end

Instance Method Details

#executeObject


10
11
12
13
14
15
16
17
18
# File 'app/finders/alert_management/http_integrations_finder.rb', line 10

def execute
  @collection = project.alert_management_http_integrations

  filter_by_availability
  filter_by_endpoint_identifier
  filter_by_active

  collection
end