class Github::Client::Activity::Watching
def subscribed?(*args)
- Api: - public
Other tags:
- See: https://developer.github.com/v3/activity/watching/#get-a-repository-subscription -
def subscribed?(*args) arguments(args, required: [:user, :repo]) get_request("/repos/#{arguments.user}/#{arguments.repo}/subscription", arguments.params) true rescue Github::Error::NotFound false end