Method: Gitlab::Client::UserSnippets#create_user_snippet
- Defined in:
- lib/gitlab/client/user_snippets.rb
permalink #create_user_snippet(options = {}) ⇒ Gitlab::ObjectifiedHash
Create a new snippet.
54 55 56 |
# File 'lib/gitlab/client/user_snippets.rb', line 54 def create_user_snippet( = {}) post('/snippets', body: ) end |