Sha256: 156d8ea8b4f7bd7b960bb27f0892367a4fe0b152053ebde2bec38d94598fd12c
Contents?: true
Size: 883 Bytes
Versions: 22
Compression:
Stored size: 883 Bytes
Contents
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 # def cast_recipient(recipient) # ActiveType.cast(recipient, ::Renalware::Messaging::Recipient) # 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
22 entries across 22 versions & 1 rubygems