Sha256: bfd6b3ffedee85e9c1b6b1e1a22eebf906fff407f90a55222070afd277bf43cb

Contents?: true

Size: 348 Bytes

Versions: 24

Compression:

Stored size: 348 Bytes

Contents

module Brightcontent
  module Attachments
    module ModelExtensions
      extend ActiveSupport::Concern

      module ClassMethods
        attr_reader :attachment_styles

        def has_attached_files(styles)
          include ::Brightcontent::Attachments::Attachable
          @attachment_styles = styles
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
brightcontent-attachments-2.6.0 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.5.1 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.5.0 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.6 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.5 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.4 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.3 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.2 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.1 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.4.0 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.3.4 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.3.3 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.3.2 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.3.1 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.3.0 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.2.2 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.2.1 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.2.0 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.1.5 lib/brightcontent/attachments/model_extensions.rb
brightcontent-attachments-2.1.4 lib/brightcontent/attachments/model_extensions.rb