Sha256: 8353024a9b526e1928de92738c24122e801e17cc47085504f1782681291dff76
Contents?: true
Size: 797 Bytes
Versions: 110
Compression:
Stored size: 797 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware" module Renalware module Messaging module_function def table_name_prefix "messaging_" end def cast_patient(patient) ActiveType.cast(patient, ::Renalware::Messaging::Patient) end def cast_author(author) ActiveType.cast(author, ::Renalware::Messaging::Author) end module Internal module_function def cast_patient(patient) ActiveType.cast(patient, ::Renalware::Messaging::Internal::Patient) end def cast_author(author) ActiveType.cast(author, ::Renalware::Messaging::Internal::Author) end def cast_recipient(recipient) ActiveType.cast(recipient, ::Renalware::Messaging::Internal::Recipient) end end end end
Version data entries
110 entries across 110 versions & 1 rubygems