lib/lifen/communication_request.rb in lifen-2.4.0 vs lib/lifen/communication_request.rb in lifen-3.0.0
- old
+ new
@@ -2,11 +2,11 @@
class CommunicationRequest < Base
attribute :uuid, String
attribute :number_communications, Integer
- attribute :sender, Lifen::User
- attribute :recipients, [Lifen::User]
+ attribute :sender, Lifen::Practitioner
+ attribute :recipients, [Lifen::Practitioner]
attribute :category, Lifen::Category, default: Lifen::Category.new
attribute :medium, [Lifen::Medium]
attribute :patient, Lifen::Patient
attribute :attachment, Lifen::Attachment