@@ -42,26 +42,26 @@ class InvalidTokenError < RuntimeError; end
4242 # @option options [Integer] :retries (5) Number of times to retry
4343 # when retrieving credentials.
4444 # @option options [String] :ip_address ('169.254.170.2') This value is
45- # ignored if `endpoint` is set and `credential_path` is not set.
46- # @option options [Integer] :port (80) This value is ignored if `endpoint`
47- # is set and `credential_path` is not set.
45+ # ignored if `: endpoint` is set and `: credential_path` is not set.
46+ # @option options [Integer] :port (80) This value is ignored if `: endpoint`
47+ # is set and `: credential_path` is not set.
4848 # @option options [String] :credential_path By default, the value of the
49- # AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable.
49+ # ` AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` environment variable.
5050 # @option options [String] :endpoint The container credential endpoint.
51- # By default, this is the value of the AWS_CONTAINER_CREDENTIALS_FULL_URI
52- # environment variable. This value is ignored if `credential_path` or
53- # ENV['AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'] is set.
51+ # By default, this is the value of the ` AWS_CONTAINER_CREDENTIALS_FULL_URI`
52+ # environment variable. This value is ignored if `: credential_path` or
53+ # ` ENV['AWS_CONTAINER_CREDENTIALS_RELATIVE_URI']` is set.
5454 # @option options [Float] :http_open_timeout (5)
5555 # @option options [Float] :http_read_timeout (5)
56- # @option options [Numeric, Proc] :delay By default, failures are retried
56+ # @option options [IO] :http_debug_output (nil) HTTP wire
57+ # traces are sent to this object. You can specify something
58+ # like `$stdout`.
59+ # @option options [Numeric, Proc] :backoff By default, failures are retried
5760 # with exponential back-off, i.e. `sleep(1.2 ** num_failures)`. You can
5861 # pass a number of seconds to sleep between failed attempts, or
5962 # a Proc that accepts the number of failures.
60- # @option options [IO] :http_debug_output (nil) HTTP wire
61- # traces are sent to this object. You can specify something
62- # like $stdout.
63- # @option options [Callable] before_refresh Proc called before
64- # credentials are refreshed. `before_refresh` is called
63+ # @option options [Proc] :before_refresh A Proc called before
64+ # credentials are refreshed. `:before_refresh` is called
6565 # with an instance of this object when
6666 # AWS credentials are required and need to be refreshed.
6767 def initialize ( options = { } )
0 commit comments