lib/github_api/gists.rb in github_api-0.3.1 vs lib/github_api/gists.rb in github_api-0.3.2
- old
+ new
@@ -41,9 +41,10 @@
get("/gists/public", params)
end
return response unless block_given?
response.each { |el| yield el }
end
+ alias :list_gists :gists
# List the authenticated user's starred gists
#
# = Examples
# @github = Github.new :oauth_token => '...'