module Octokit::Client::Gitignore

def gitignore_template(template_name, options = {})

Other tags:
    Example: Get the Ruby gitignore template -

Returns:
  • (Sawyer::Resource) - Gitignore template

Other tags:
    See: https://developer.github.com/v3/gitignore/#get-a-single-template -

Parameters:
  • template_name (String) -- Name of the template. Template names are
def gitignore_template(template_name, options = {})
  get "gitignore/templates/#{template_name}", options
end

def gitignore_templates(options = {})

Other tags:
    Example: Git all the gitignore templates -

Returns:
  • (Array) - List of templates.

Other tags:
    See: https://developer.github.com/v3/gitignore/#listing-available-templates -
def gitignore_templates(options = {})
  get "gitignore/templates", options
end