module Github::RateLimit

Public Instance Methods

ratelimit(*args) click to toggle source
# File lib/github_api/rate_limit.rb, line 5
def ratelimit(*args)
  arguments(args)

  get_request("/rate_limit", arguments.params).rate.limit
end
ratelimit_remaining(*args) click to toggle source
# File lib/github_api/rate_limit.rb, line 11
def ratelimit_remaining(*args)
  arguments(args)

  get_request("/rate_limit", arguments.params).rate.remaining
end
ratelimit_reset(*args) click to toggle source
# File lib/github_api/rate_limit.rb, line 17
def ratelimit_reset(*args)
  arguments(args)

  get_request("/rate_limit", arguments.params).rate.reset
end