Class: Twitter::RateLimitStatus
- Defined in:
- lib/twitter/rate_limit_status.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#reset_time ⇒ Time
Time when the authenticating user's rate limit will be reset.
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Method Details
#reset_time ⇒ Time
Time when the authenticating user's rate limit will be reset
10 11 12 |
# File 'lib/twitter/rate_limit_status.rb', line 10 def reset_time @reset_time ||= Time.parse(@attrs['reset_time']) unless @attrs['reset_time'].nil? end |