class Github::Gitignore
def get(*args)
github.gitignore.get "template-name", accept: 'applicatin/vnd.github.raw'
github = Github.new
= Examples
Use the raw media type to get the raw contents.
github.gitignore.get "template-name"
github = Github.new
= Examples
Get a single template
def get(*args) params = arguments(args, :required => [:name]).params if (media = params.delete('accept')) params['accept'] = media params['raw'] = true end get_request("/gitignore/templates/#{name}", params) end