class Github::Repos
def get(*args)
github.repos(user: 'user-name', repo: 'repo-name').get
github.repos.get user: 'user-name', repo: 'repo-name'
github.repos.get 'user-name', 'repo-name'
github = Github.new
= Examples
Get a repository
def get(*args) arguments(args, :required => [:user, :repo]) params = arguments.params get_request("/repos/#{user}/#{repo}", params) end