Sha256: c16000f805438285f09c6253bca4cf24c70f34b5c6893b664a30634c61f5e5a2
Contents?: true
Size: 480 Bytes
Versions: 15
Compression:
Stored size: 480 Bytes
Contents
require_dependency "renalware/messaging" # # Abstract Message base class. # Use Internal::Message etc. subclasses (stored via STI). # module Renalware module Messaging class Message < ApplicationRecord validates :body, presence: true validates :subject, presence: true validates :author, presence: true validates :patient, presence: true validates :sent_at, presence: true belongs_to :patient belongs_to :author end end end
Version data entries
15 entries across 15 versions & 1 rubygems