Sha256: 808a0fe7da15ee36688d6ba75692ea3b944efb9b6934503a30294872842ff34f

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 Bytes

Contents

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

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

      has_many :responses, dependent: :destroy

      validates_presence_of :text

      responses are: :responses

      def to_s
        text
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tasuku-1.1.0 lib/tasuku/concerns/models/taskables/url/request.rb
tasuku-1.0.1 lib/tasuku/concerns/models/taskables/url/request.rb
tasuku-0.1.1 lib/tasuku/concerns/models/taskables/url/request.rb