Module: Octokit::Client::Network

Included in:
Octokit::Client
Defined in:
lib/octokit/client/network.rb

Instance Method Summary collapse

Instance Method Details

#network_data(repo, options = {}) ⇒ Object



9
10
11
12
# File 'lib/octokit/client/network.rb', line 9

def network_data(repo, options={})
  warn 'DEPRECATED: V3 of the API does not support this information. Support will be removed soon.'
  get("/#{Repository.new(repo)}/network_data_chunk", options, 2, false)['commits']
end

#network_meta(repo, options = {}) ⇒ Object



4
5
6
7
# File 'lib/octokit/client/network.rb', line 4

def network_meta(repo, options={})
  warn 'DEPRECATED: V3 of the API does not support this information. Support will be removed soon.'
  get("/#{Repository.new(repo)}/network_meta", options, 2, false)
end