lib/github_api/repos/watching.rb in github_api-0.7.1 vs lib/github_api/repos/watching.rb in github_api-0.7.2

- old
+ new

@@ -11,10 +11,10 @@ # github = Github.new :user => 'user-name', :repo => 'repo-name' # github.repos.watching.list # github.repos.watching.list { |watcher| ... } # def list(user_name, repo_name, params={}) - _update_user_repo_params(user_name, repo_name) + set :user => user_name, :repo => repo_name assert_presence_of user, repo normalize! params response = get_request("/repos/#{user}/#{repo}/subscribers", params) return response unless block_given?