Sha256: c7e68c60b72b74fda57a9376fadd942a9f6c754a69b107dc62ba58bcb46f4cff

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 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

2 entries across 2 versions & 1 rubygems

Version Path
tekeya-0.0.10 lib/tekeya/feed/attachable.rb
tekeya-0.0.9 lib/tekeya/feed/attachable.rb