Skip to content

Commit 0d472d1

Browse files
committed
Align method documentation.
1 parent 26f3b21 commit 0d472d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/github_api/repos.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,14 @@ def create(*args)
184184
end
185185

186186
# Delete a repository
187-
# Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.
187+
#
188+
# Deleting a repository requires admin access.
189+
# If OAuth is used, the delete_repo scope is required.
188190
#
189191
# = Examples
190192
# github = Github.new :oauth_token => '...'
191193
# github.repos.delete 'user-name', 'repo-name'
194+
#
192195
def delete(user_name, repo_name, params={})
193196
_update_user_repo_params(user_name, repo_name)
194197
_validate_user_repo_params(user, repo) unless user? && repo?

0 commit comments

Comments
 (0)