class Github::Activity::Notifications
def get(*args)
github.activity.notifications.get 'thread_id' { |thread| ... }
github.activity.notifications.get 'thread_id'
github = Github.new oauth_token: 'token'
= Examples
View a single thread
def get(*args) arguments(args, :required => [:thread_id]) response = get_request("/notifications/threads/#{thread_id}", arguments.params) return response unless block_given? response.each { |el| yield el } end