Class: GCRA::RateLimitInfo
- Inherits:
-
Struct
- Object
- Struct
- GCRA::RateLimitInfo
- Defined in:
- lib/gcra/rate_limiter.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
-
#reset_after ⇒ Object
Returns the value of attribute reset_after.
-
#retry_after ⇒ Object
Returns the value of attribute retry_after.
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit
2 3 4 |
# File 'lib/gcra/rate_limiter.rb', line 2 def limit @limit end |
#remaining ⇒ Object
Returns the value of attribute remaining
2 3 4 |
# File 'lib/gcra/rate_limiter.rb', line 2 def remaining @remaining end |
#reset_after ⇒ Object
Returns the value of attribute reset_after
2 3 4 |
# File 'lib/gcra/rate_limiter.rb', line 2 def reset_after @reset_after end |
#retry_after ⇒ Object
Returns the value of attribute retry_after
2 3 4 |
# File 'lib/gcra/rate_limiter.rb', line 2 def retry_after @retry_after end |