lib/hawkular/tokens/tokens_api.rb in hawkular-client-1.0.0 vs lib/hawkular/tokens/tokens_api.rb in hawkular-client-2.0.0

- old
+ new

@@ -5,11 +5,12 @@ # Client class to interact with the Secret Store class TokenClient < Hawkular::BaseClient # Create a new Secret Store client # @param entrypoint [String] base url of Hawkular - e.g http://localhost:8080 # @param credentials [Hash{String=>String}] Hash of username, password - def initialize(entrypoint = 'http://localhost:8080', credentials = {}) - super(entrypoint, credentials) + # @param options [Hash{String=>String}] Additional rest client options + def initialize(entrypoint = 'http://localhost:8080', credentials = {}, options = {}) + super(entrypoint, credentials, options) end # Retrieve the tenant id for the passed credentials. # If no credentials are passed, the ones from the constructor are used # @param credentials [Hash{String=>String}] Hash of username, password, token(optional)