lib/hawkular/tokens/tokens_api.rb in hawkular-client-2.1.0 vs lib/hawkular/tokens/tokens_api.rb in hawkular-client-2.2.0
- old
+ new
@@ -6,10 +6,10 @@
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
# @param options [Hash{String=>String}] Additional rest client options
- def initialize(entrypoint = 'http://localhost:8080', credentials = {}, options = {})
+ def initialize(entrypoint, 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