Sha256: 336d51e88fee870a442822ef030c8f12c8c7f969d9a9a6ac01097444a8f92ada
Contents?: true
Size: 461 Bytes
Versions: 22
Compression:
Stored size: 461 Bytes
Contents
# encoding: utf-8 module Github module RateLimit def ratelimit(*args) arguments(args) get_request("/rate_limit", arguments.params).rate.limit end def ratelimit_remaining(*args) arguments(args) get_request("/rate_limit", arguments.params).rate.remaining end def ratelimit_reset(*args) arguments(args) get_request("/rate_limit", arguments.params).rate.reset end end # RateLimit end # Github
Version data entries
22 entries across 22 versions & 3 rubygems
Version | Path |
---|---|
github_api-0.12.1 | lib/github_api/rate_limit.rb |
github_api-0.12.0 | lib/github_api/rate_limit.rb |