Sha256: d1ecdfabbe69ecf93601129f68a26fb2661a2dd3f11ad8f0f11c2858df568d74
Contents?: true
Size: 320 Bytes
Versions: 56
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true module Motor class Notification < ::Motor::ApplicationRecord STATUSES = [ PENDING = 'pending' ].freeze belongs_to :record, polymorphic: true, optional: true belongs_to :recipient, polymorphic: true attribute :status, type: :string, default: PENDING end end
Version data entries
56 entries across 56 versions & 6 rubygems