Method: Gitlab::Client::UserSnippets#user_snippets

Defined in:
lib/gitlab/client/user_snippets.rb

#user_snippetsArray<Gitlab::ObjectifiedHash>

Get a list of the snippets of the current user.

Examples:

Gitlab.user_snippets

Returns:


13
14
15
# File 'lib/gitlab/client/user_snippets.rb', line 13

def user_snippets
  get('/snippets')
end