class Github::Activity::Notifications
def create(thread_id, params={})
'ignored': false
'subscribed': true
github.activity.notifications.create 'thread-id',
github = Github.new oauth_token: 'token'
= Examples
blocked from this thread.
* :ignored - boolean - deterimines if all notifications should be
received from this thread.
* :subscribed - boolean - determines if notifications should be
= Parameters
@mentioned).
a thread will mute all future notifications (until you comment or get
is unnecessary if the user is already subscribed to the repository. Ignoring
This lets you subscribe to a thread, or ignore it. Subscribing to a thread
Create a thread subscription
def create(thread_id, params={}) assert_presence_of thread_id normalize! params put_request("/notifications/threads/#{thread_id}/subscription", params) end