Class: Vault::RateLimitQuota
- Defined in:
- lib/vault/api/sys/quota.rb
Instance Attribute Summary collapse
-
#burst ⇒ Int
readonly
The maximum number of requests at any given second allowed by the quota rule.
-
#rate ⇒ Float
readonly
The rate at which allowed requests are refilled per second by the quota rule.
Attributes inherited from Quota
Method Summary
Methods inherited from Response
#==, decode, #initialize, #to_h
Constructor Details
This class inherits a constructor from Vault::Response
Instance Attribute Details
#burst ⇒ Int (readonly)
The maximum number of requests at any given second allowed by the quota rule.
33 |
# File 'lib/vault/api/sys/quota.rb', line 33 field :burst |
#rate ⇒ Float (readonly)
The rate at which allowed requests are refilled per second by the quota rule.
27 |
# File 'lib/vault/api/sys/quota.rb', line 27 field :rate |