Sha256: 79cfb2f52e55db2b56c21f76fe854475a7b668a6604412000f8bcb8bfdf08444

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

module Tasks::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-0.0.1 lib/tasks/concerns/verifiable.rb