Class: Demografix::Quota
- Inherits:
-
Data
- Object
- Data
- Demografix::Quota
- Defined in:
- lib/demografix/models.rb
Overview
The rate-limit window, parsed from the x-rate-limit-* response headers.
Instance Attribute Summary collapse
-
#limit ⇒ Object
readonly
Returns the value of attribute limit.
-
#remaining ⇒ Object
readonly
Returns the value of attribute remaining.
-
#reset ⇒ Object
readonly
Returns the value of attribute reset.
Instance Attribute Details
#limit ⇒ Object (readonly)
Returns the value of attribute limit
5 6 7 |
# File 'lib/demografix/models.rb', line 5 def limit @limit end |
#remaining ⇒ Object (readonly)
Returns the value of attribute remaining
5 6 7 |
# File 'lib/demografix/models.rb', line 5 def remaining @remaining end |
#reset ⇒ Object (readonly)
Returns the value of attribute reset
5 6 7 |
# File 'lib/demografix/models.rb', line 5 def reset @reset end |