Sha256: f2d2608b81a05c1896c9650172eeb83178dd2aee7c280f62147879ca39e76d85
Contents?: true
Size: 546 Bytes
Versions: 15
Compression:
Stored size: 546 Bytes
Contents
# typed: ignore class HogwartsAcceptanceMailer < ApplicationMailer extend T::Sig sig { params(student: Wizard).void } def notify(student) # TODO: mail acceptance letter to student end sig { params( teacher: Wizard, note: String, student: Wizard, special: T::Boolean, ).void } def notify_teacher( teacher, note=nil, student:, special: false ) # TODO: let the teacher know when a students accepted offer end def notify_retry(student) # TODO: send more owls!! end end
Version data entries
15 entries across 14 versions & 1 rubygems