Class: Broadcast::RateLimit
- Inherits:
-
Struct
- Object
- Struct
- Broadcast::RateLimit
- Defined in:
- lib/broadcast/response.rb
Overview
Parsed X-RateLimit-* response headers. reset is the time the current
window rolls over, not a duration.
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
-
#reset ⇒ Object
Returns the value of attribute reset.
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit
21 22 23 |
# File 'lib/broadcast/response.rb', line 21 def limit @limit end |
#remaining ⇒ Object
Returns the value of attribute remaining
21 22 23 |
# File 'lib/broadcast/response.rb', line 21 def remaining @remaining end |
#reset ⇒ Object
Returns the value of attribute reset
21 22 23 |
# File 'lib/broadcast/response.rb', line 21 def reset @reset end |