Sha256: 29c9d691a955bf5e2d765f1a6c788c7303cafd24e59fb624333a815a655ea85a
Contents?: true
Size: 1015 Bytes
Versions: 39
Compression:
Stored size: 1015 Bytes
Contents
module Nearmiss class Client # Methods for the Notifications API # module Notifications # List notifications for the current user # # If user is not supplied, repositories for the current # authenticated user are returned. # # @note If the user provided is a GitHub organization, only the # organization's public repositories will be listed. For retrieving # organization repositories the {Organizations#organization_repositories} # method should be used instead. # @see https://developer.github.com/v3/repos/#list-your-repositories # @see https://developer.github.com/v3/repos/#list-user-repositories # @param user [Integer, String] Optional GitHub user login or id for which # to list repos. # @return [Array<Sawyer::Resource>] List of projects def notifications(options = {}) paginate "notifications", options end alias :list_notifications :notifications end end end
Version data entries
39 entries across 39 versions & 2 rubygems