Method: Gitlab::Client::Projects#project_templates
- Defined in:
- lib/gitlab/client/projects.rb
#project_templates(project, type) ⇒ Array<Gitlab::ObjectifiedHash>
Get all project templates of a particular type
603 604 605 |
# File 'lib/gitlab/client/projects.rb', line 603 def project_templates(project, type) get("/projects/#{url_encode project}/templates/#{type}") end |