Method: Github::Client::Activity::Watching#unwatch
- Defined in:
- lib/github_api/client/activity/watching.rb
#unwatch(*args) ⇒ Object
Stop watching a repository
You need to be authenticated to stop watching a repository.
170 171 172 173 174 |
# File 'lib/github_api/client/activity/watching.rb', line 170 def unwatch(*args) arguments(args, required: [:user, :repo]) delete_request("/user/subscriptions/#{arguments.user}/#{arguments.repo}", arguments.params) end |