class

Github::Usecase

Inherits Reference < Object

Constants

BODY_LIMIT = 500

コメント本文の掲載上限。全文はリンク先で読む前提で、通知が長文で流れるのを 防ぐため組み立て側(Slack / Discord 共通)で切り詰める(issue #96)。

Constructors

new(repo : NotificationRepository)
Source

Instance methods

build_message(notify : Notification) : Notify::Message
Source