struct Octokit::RateLimit
- Octokit::RateLimit
- Struct
- Value
- Object
Overview
Class for API Rate Limit info
See Also:
Defined in:
octokit/rate_limit.crConstructors
Class Method Summary
-
.from_response(response)
Get rate limit info from HTTP response
Instance Method Summary
- #limit : Int32 | Nil
- #limit=(limit : Int32 | Nil)
- #remaining : Int32 | Nil
- #remaining=(remaining : Int32 | Nil)
- #resets_at : Time | Nil
- #resets_at=(resets_at : Time | Nil)
- #resets_in : Int64 | Nil
- #resets_in=(resets_in : Int64 | Nil)
Constructor Detail
def self.new(limit : Int32 | Nil = nil, remaining : Int32 | Nil = nil, resets_at : Time | Nil = nil, resets_in : Int32 | Nil = nil)
#