struct

Octokit::RateLimit

Inherits Struct < Value < Object

Class for API Rate Limit info

See Also:

Constructors

new(limit : Int32 | Nil = nil, remaining : Int32 | Nil = nil, resets_at : Time | Nil = nil, resets_in : Int32 | Nil = nil)
Source

Class methods

from_response(response)

Get rate limit info from HTTP response

Source

Instance methods

limit
Source
limit=(limit : Int32 | Nil)
Source
remaining
Source
remaining=(remaining : Int32 | Nil)
Source
resets_at
Source
resets_at=(resets_at : Time | Nil)
Source
resets_in
Source
resets_in=(resets_in : Int64 | Nil)
Source