lib/hawkular/alerts/alerts_api.rb in hawkular-client-1.0.0 vs lib/hawkular/alerts/alerts_api.rb in hawkular-client-2.0.0

- old
+ new

@@ -10,14 +10,15 @@ module Hawkular::Alerts # Interface to use to talk to the Hawkular-Alerts component. # @param entrypoint [String] base url of Hawkular-Alerts - e.g # http://localhost:8080/hawkular/alerts # @param credentials [Hash{String=>String}] Hash of username, password, token(optional) + # @param options [Hash{String=>String}] Additional rest client options class AlertsClient < Hawkular::BaseClient - def initialize(entrypoint = 'http://localhost:8080/hawkular/alerts', credentials = {}) + def initialize(entrypoint = 'http://localhost:8080/hawkular/alerts', credentials = {}, options = {}) @entrypoint = entrypoint - super(entrypoint, credentials) + super(entrypoint, credentials, options) end # Lists defined triggers in the system # @param [Array] ids List of trigger ids. If provided, limits to the given triggers # @param [Array] tags List of tags. If provided, limits to the given tags. Individual