Sha256: 27f5a877884174e4001cc4adcff679bcb25b2d9f516ce232a38fc6d8af4289f0

Contents?: true

Size: 423 Bytes

Versions: 7

Compression:

Stored size: 423 Bytes

Contents

module Tekeya
  module Feed
    module Attachment
      extend ActiveSupport::Concern

      included do
        belongs_to :attache, polymorphic: true, autosave: true
        belongs_to :attachable, polymorphic: true, autosave: true
        belongs_to :notification_attache, polymorphic: true, autosave: true

        include ActiveModel::Serializers::JSON
      end

      module ClassMethods
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tekeya-0.0.7 lib/tekeya/feed/attachment.rb
tekeya-0.0.6 lib/tekeya/feed/attachment.rb
tekeya-0.0.5 lib/tekeya/feed/attachment.rb
tekeya-0.0.4 lib/tekeya/feed/attachment.rb
tekeya-0.0.3 lib/tekeya/feed/attachment.rb
tekeya-0.0.2 lib/tekeya/feed/attachment.rb
tekeya-0.0.1 lib/tekeya/feed/attachment.rb