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, nethash, options = {}) ⇒ Object



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

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

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



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

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