Class: AlertManagement::HttpIntegrationsFinder
- Inherits:
-
Object
- Object
- AlertManagement::HttpIntegrationsFinder
- Defined in:
- app/finders/alert_management/http_integrations_finder.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(project, params) ⇒ HttpIntegrationsFinder
constructor
A new instance of HttpIntegrationsFinder.
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
#execute ⇒ Object
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 |