module BacklogKit
  class Client
    module Notification
      def get_notifications(params = {})
        get('notifications', params)
      end

      def get_notification_count(params = {})
        get('notifications/count', params)
      end

      def reset_unread_notification_count
        post('notifications/markAsRead')
      end

      def mark_as_read_notification(notification_id)
        post("notifications/#{notification_id}/markAsRead")
      end
    end
  end
end

module BacklogKit
  class Client
    module Notification

      # Get list of own notifications
      #
      # @param params [Hash] Request parameters
      # @return [BacklogKit::Response] List of notifications
      def get_notifications(params = {})
        get('notifications', params)
      end

      # Get number of own notifications
      #
      # @param params [Hash] Request parameters
      # @return [BacklogKit::Response] Number of notifications
      def get_notification_count(params = {})
        get('notifications/count', params)
      end

      # Reset unread notification count
      #
      # @return [BacklogKit::Response] Number of notifications
      def reset_unread_notification_count
        post('notifications/markAsRead')
      end

      # Mark a notification as read
      #
      # @param notification_id [Integer, String] Notification id
      # @return [BacklogKit::Response] No content response
      def mark_as_read_notification(notification_id)
        post("notifications/#{notification_id}/markAsRead")
      end
    end
  end
end

Add documentation for the Notification API
Add documentation for the Notification API
