Sha256: 569c1498a289705509b24992fe376cebc0c9cd75e2a758b5b1cfdd4fc05bea56
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module Tasuku::Concerns::Verifiable extend ActiveSupport::Concern included do has_one :verification, as: :verifiable, class_name: '::Tasks::Taskables::Verification', dependent: :destroy has_one :task, through: :verification, class_name: '::Tasks::Task' has_many :confirmations, through: :verification, class_name: '::Tasks::Taskables::Verification::Confirmation' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tasuku-1.1.0 | lib/tasuku/concerns/verifiable.rb |