Sha256: 7aa8fe51e9585fc61e8ad43b7d4fd296fbb5cfbd34955042ab21d9f8299c5407

Contents?: true

Size: 268 Bytes

Versions: 7

Compression:

Stored size: 268 Bytes

Contents

module Tekeya
  module Feed
    module Attachable
      extend ActiveSupport::Concern

      included do
        has_many :attachments, as: :attachable, class_name: "Tekeya::Attachment"
      end

      def is_tekeya_attachable
        true
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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