Module: Ghee::API::Repos

Included in:
Ghee
Defined in:
lib/ghee/api/repos.rb,
lib/ghee/api/git_data.rb,
lib/ghee/api/downloads.rb

Overview

The Repos module handles all of the Github Repo API endpoints

Defined Under Namespace

Modules: Commits, Downloads, Git, Hooks, Labels Classes: Proxy

Instance Method Summary collapse

Instance Method Details

#repos(login, name) ⇒ Object

Get repos

name - String of the name of the repo

Returns json



99
100
101
102
# File 'lib/ghee/api/repos.rb', line 99

def repos(,name)
  path_prefix = "/repos/#{}/#{name}"
  Proxy.new(connection, path_prefix)
end