Sha256: 368b422874cce7de51635ce11890f7e0989c19041d93cacdf2ca7f371665a00e
Contents?: true
Size: 398 Bytes
Versions: 9
Compression:
Stored size: 398 Bytes
Contents
require_dependency "renalware/letters/letter" module Renalware module Letters class Letter::Approved < Letter def self.policy_class ApprovedLetterPolicy end def complete(by:) becomes!(Completed).tap do |letter| letter.by = by letter.completed_by = by letter.completed_at = Time.current end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems