Sha256: 3858a02139397406efd0eb50f2dc55bfa46baa396dac955ce19952ba3cebb93a

Contents?: true

Size: 312 Bytes

Versions: 121

Compression:

Stored size: 312 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/messaging"

module Renalware
  module Messaging
    class Patient < ActiveType::Record[Renalware::Patient]
      has_many :messages, dependent: :restrict_with_exception

      def to_s(format = :long)
        super(format)
      end
    end
  end
end

Version data entries

121 entries across 121 versions & 1 rubygems

Version Path
renalware-core-2.0.40 app/models/renalware/messaging/patient.rb