Sha256: c42e2e18df679fe36404e5076ce720b7f72037a88da33c1a2d16bd2b64e207ab

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

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

      embeddable :video, from: :url

      belongs_to :request
      belongs_to :author, polymorphic: true

      validates :author_id, :author_type, presence: true
      validates :url, 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/url/response.rb