class Github::Repos::Contents
def readme(*args)
content.readme
content = Github::Repos;:Contents.new user: 'user-name', 'repo-name'
github.repos.contents.readme 'user-name', 'repo-name'
github = Github.new
= Examples
This method returns the preferred README for a repository.
Get the README
def readme(*args) arguments(args, :required => [:user, :repo]) params = arguments.params get_request("/repos/#{user}/#{repo}/readme", params) end