Skip to content

Commit

Permalink
Add example for repository create_tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
asedge committed Dec 28, 2014
1 parent bc14ec5 commit dcd795d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gitlab/client/repositories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def tags(project, options={})
# Creates a new project repository tag.
#
# @example
# Gitlab.create_tag(42,'new_tag','master')
# Gitlab.create_tag(42, 'new_tag', 'master')
# Gitlab.create_tag(42, 'v1.0', 'master', 'Release 1.0')
#
# @param [Integer] project The ID of a project.
# @param [String] tag_name The name of the new tag.
Expand Down

0 comments on commit dcd795d

Please sign in to comment.