Sha256: b72511f03792b7e119c595a2d9c9b61c96bb57409265e194b3233244f872eda9

Contents?: true

Size: 423 Bytes

Versions: 26

Compression:

Stored size: 423 Bytes

Contents

# This is a class used for the IFrame views

module Effective
  class IframeUploads < ActiveRecord::Base
    acts_as_asset_box :uploads

    def initialize(items = nil)
      super()
      @column_types = {}

      add_to_asset_box(:uploads, items)
    end

    def self.columns
      @columns ||= []
    end

    def self.column_defaults
      {}
    end

    def self.has_attribute?(*args)
      false
    end

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
effective_assets-1.10.1 app/models/effective/iframe_uploads.rb
effective_assets-1.10.0 app/models/effective/iframe_uploads.rb
effective_assets-1.9.14 app/models/effective/iframe_uploads.rb
effective_assets-1.9.13 app/models/effective/iframe_uploads.rb
effective_assets-1.9.12 app/models/effective/iframe_uploads.rb
effective_assets-1.9.11 app/models/effective/iframe_uploads.rb
effective_assets-1.9.10 app/models/effective/iframe_uploads.rb
effective_assets-1.9.9 app/models/effective/iframe_uploads.rb
effective_assets-1.9.8 app/models/effective/iframe_uploads.rb
effective_assets-1.9.7 app/models/effective/iframe_uploads.rb
effective_assets-1.9.6 app/models/effective/iframe_uploads.rb
effective_assets-1.9.5 app/models/effective/iframe_uploads.rb
effective_assets-1.9.4 app/models/effective/iframe_uploads.rb
effective_assets-1.9.3 app/models/effective/iframe_uploads.rb
effective_assets-1.9.2 app/models/effective/iframe_uploads.rb
effective_assets-1.9.1 app/models/effective/iframe_uploads.rb
effective_assets-1.9.0 app/models/effective/iframe_uploads.rb
effective_assets-1.8.0 app/models/effective/iframe_uploads.rb
effective_assets-1.7.7 app/models/effective/iframe_uploads.rb
effective_assets-1.7.6 app/models/effective/iframe_uploads.rb