A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://rubydoc.info/github/piotrmurach/github/master/Github/RateLimit below:

RateLimit – Documentation for piotrmurach/github (master) – RubyDoc.info

Module: Github::RateLimit
Included in:
API
Defined in:
lib/github_api/rate_limit.rb
Instance Method Summary collapse Instance Method Details #ratelimit(*args) ⇒ Object
6
7
8
9
10
# File 'lib/github_api/rate_limit.rb', line 6

def ratelimit(*args)
  arguments(args)

  get_request("/rate_limit", arguments.params).rate.limit
end
#ratelimit_remaining(*args) ⇒ Object
12
13
14
15
16
# File 'lib/github_api/rate_limit.rb', line 12

def ratelimit_remaining(*args)
  arguments(args)

  get_request("/rate_limit", arguments.params).rate.remaining
end
#ratelimit_reset(*args) ⇒ Object
18
19
20
21
22
# File 'lib/github_api/rate_limit.rb', line 18

def ratelimit_reset(*args)
  arguments(args)

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4