lib/github_api/issues/assignees.rb in github_api-0.8.2 vs lib/github_api/issues/assignees.rb in github_api-0.8.3
- old
+ new
@@ -1,11 +1,11 @@
# encoding: utf-8
module Github
class Issues::Assignees < API
- # lists all the available assignees (owner + collaborators)
+ # lists all the available assignees (owner + collaborators)
# to which issues may be assigned.
#
# = Examples
#
# Github.issues.assignees.list 'user', 'repo'
@@ -17,9 +17,10 @@
response = get_request("/repos/#{user_name}/#{repo_name}/assignees", params)
return response unless block_given?
response.each { |el| yield el }
end
+ alias :all :list
# Check to see if a particular user is an assignee for a repository.
#
# = Examples
#