class Github::Activity::Watching
def list(*args)
github.activity.watching.list { |watcher| ... }
github.activity.watching.list
github = Github.new :user => 'user-name', :repo => 'repo-name'
= Examples
List repo watchers
def list(*args) arguments(args, :required => [:user, :repo]) response = get_request("/repos/#{user}/#{repo}/subscribers", arguments.params) return response unless block_given? response.each { |el| yield el } end