Sha256: e02294b3aa0a422e8892850ac874022efba67ea6395269d329aa72cb9e0aa03d

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

module Tasuku
  module Concerns::Models::Taskables::Text::Request
    extend ActiveSupport::Concern

    included do
      include ::Tasks::Taskables::Taskable
      include ::Tasks::Concerns::Illustratable

      has_many :responses, dependent: :destroy

      responses are: :responses

      def to_s
        text
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.1.0 lib/tasuku/concerns/models/taskables/text/request.rb