class Github::Repos::Contents

def readme(user_name, repo_name, params={})


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(user_name, repo_name, params={})
  normalize! params
  get_request("/repos/#{user_name}/#{repo_name}/readme", params)
end