Sha256: 0f3acbc414bbef443768937b4e25d42195ff27a9ede04ce8c9eb4e7de8fdfbf8
Contents?: true
Size: 454 Bytes
Versions: 28
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/messaging" module Renalware module Messaging module Internal class Message < Renalware::Messaging::Message belongs_to :author, class_name: "Internal::Author" has_many :receipts has_many :recipients, through: :receipts belongs_to :replying_to_message, class_name: name scope :ordered, ->{ order(sent_at: :desc) } end end end end
Version data entries
28 entries across 28 versions & 1 rubygems