class Github::Client::Gitignore

.gitignore template to apply to the repository upon creation.
When you create a new GitHub repository via the API, you can specify a

def get(*args)

Other tags:
    Api: - public

Other tags:
    See: https://developer.github.com/v3/gitignore/#get-a-single-template -
def get(*args)
  arguments(args, required: [:name])
  params = arguments.params
  if (media = params.delete('accept'))
    params['accept'] = media
    params['raw'] = true
  end
  get_request("/gitignore/templates/#{arguments.name}", params)
end

def list(*args)

Other tags:
    Api: - public

Other tags:
    See: https://developer.github.com/v3/gitignore/#listing-available-templates -
def list(*args)
  arguments(args)
  response = get_request("/gitignore/templates", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end