class Github::Repos::Watching

def watched(*args)


github.repos.watching.watched
github = Github.new :oauth_token => '...'
= Examples

List repos being watched by the authenticated user

github.repos.watching.watched :user => 'user-name'
github = Github.new
= Examples

List repos being watched by a user
def watched(*args)
  params = args.extract_options!
  normalize! params
  response = if (user_name = params.delete('user'))
    get_request("/users/#{user_name}/subscriptions", params)
  else
    get_request("/user/subscriptions", params)
  end
  return response unless block_given?
  response.each { |el| yield el }
end