Class: DiscordRDA::RateLimiter::RateLimitInfo
- Inherits:
-
Struct
- Object
- Struct
- DiscordRDA::RateLimiter::RateLimitInfo
- Defined in:
- lib/discord_rda/connection/rate_limiter.rb
Overview
Rate limit info structure
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#last_updated ⇒ Object
Returns the value of attribute last_updated.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
-
#reset ⇒ Object
Returns the value of attribute reset.
-
#reset_after ⇒ Object
Returns the value of attribute reset_after.
Instance Attribute Details
#bucket ⇒ Object
Returns the value of attribute bucket
12 13 14 |
# File 'lib/discord_rda/connection/rate_limiter.rb', line 12 def bucket @bucket end |
#last_updated ⇒ Object
Returns the value of attribute last_updated
12 13 14 |
# File 'lib/discord_rda/connection/rate_limiter.rb', line 12 def last_updated @last_updated end |
#limit ⇒ Object
Returns the value of attribute limit
12 13 14 |
# File 'lib/discord_rda/connection/rate_limiter.rb', line 12 def limit @limit end |
#remaining ⇒ Object
Returns the value of attribute remaining
12 13 14 |
# File 'lib/discord_rda/connection/rate_limiter.rb', line 12 def remaining @remaining end |
#reset ⇒ Object
Returns the value of attribute reset
12 13 14 |
# File 'lib/discord_rda/connection/rate_limiter.rb', line 12 def reset @reset end |
#reset_after ⇒ Object
Returns the value of attribute reset_after
12 13 14 |
# File 'lib/discord_rda/connection/rate_limiter.rb', line 12 def reset_after @reset_after end |