Sha256: b697fa9903b0732fcc63f5572d7a476f2150e841d16fb8aff70c3b7480020590

Contents?: true

Size: 304 Bytes

Versions: 14

Compression:

Stored size: 304 Bytes

Contents

module Spree
  class Asset < Spree::Base
    include Support::ActiveStorage
    include Metadata
    if defined?(Spree::Webhooks)
      include Spree::Webhooks::HasWebhooks
    end

    belongs_to :viewable, polymorphic: true, touch: true
    acts_as_list scope: [:viewable_id, :viewable_type]
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
spree_core-4.5.4 app/models/spree/asset.rb
spree_core-4.6.5 app/models/spree/asset.rb
spree_core-4.7.2 app/models/spree/asset.rb
spree_core-4.7.1 app/models/spree/asset.rb
spree_core-4.6.4 app/models/spree/asset.rb
spree_core-4.7.0 app/models/spree/asset.rb
spree_core-4.6.3 app/models/spree/asset.rb
spree_core-4.6.2 app/models/spree/asset.rb
spree_core-4.6.1 app/models/spree/asset.rb
spree_core-4.6.0 app/models/spree/asset.rb
spree_core-4.5.3 app/models/spree/asset.rb
spree_core-4.5.2 app/models/spree/asset.rb
spree_core-4.5.1 app/models/spree/asset.rb
spree_core-4.5.0 app/models/spree/asset.rb