lib/github_api/repos/contents.rb in github_api-0.6.1 vs lib/github_api/repos/contents.rb in github_api-0.6.2
- old
+ new
@@ -20,9 +20,12 @@
# Get contents
#
# This method returns the contents of any file or directory in a repository.
#
+ # = Parameters
+ # * <tt>:ref</tt> - Optional string - valid Git reference, defaults to master
+ #
# = Examples
# github = Github.new
# github.repos.contents.get 'user-name', 'repo-name', 'path'
#
def get(user_name, repo_name, path, params={})