Sha256: a4c4f573821daef55ce6159d6be5a128f375a774850674948733d02b352bd9f4

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

module Tasks
  module Taskables
    class Text::Response < ActiveRecord::Base
      include Taskable::Submission

      belongs_to :request
      belongs_to :author, polymorphic: true

      validates :author_id, :author_type, presence: true
      validates :text, presence: true

      request is: :request
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 app/models/tasks/taskables/text/response.rb