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



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

def network_data(repo, options={})
  get("/#{Repository.new(repo)}/network_data_chunk", options, 2, false)['commits']
end

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



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

def network_meta(repo, options={})
  get("/#{Repository.new(repo)}/network_meta", options, 2, false)
end