class Github::Repos::Watching
def watch(user_name, repo_name, params={})
github.repos.watching.watch 'user-name', 'repo-name'
github = Github.new
= Examples
You need to be authenticated to watch a repository
Watch a repository
def watch(user_name, repo_name, params={}) _validate_presence_of user_name, repo_name normalize! params put_request("/user/subscriptions/#{user_name}/#{repo_name}", params) end