Sha256: fbd846810b67bf31422b4384056c800e9d25639b834ca61b4bab5c2939077c7c

Contents?: true

Size: 473 Bytes

Versions: 10

Compression:

Stored size: 473 Bytes

Contents

class WidgetConfiguration < ApplicationRecord
  include DiscoApp::Concerns::RendersAssets

  belongs_to :shop, class_name: 'DiscoApp::Shop'

  renders_assets :widget_assets, assets: ['assets/widget.scss', 'assets/widget.js'], triggered_by: ['locale', 'background_color']
  renders_assets :liquid_assets, assets: 'snippets/widget.liquid', triggered_by: ['locale']
  renders_assets :script_tag_assets, assets: 'assets/script_tag.js', script_tags: 'assets/script_tag.js'

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release test/dummy/app/models/widget_configuration.rb
disco_app-0.14.1 test/dummy/app/models/widget_configuration.rb
disco_app-0.14.2 test/dummy/app/models/widget_configuration.rb
disco_app-0.15.0 test/dummy/app/models/widget_configuration.rb
disco_app-0.16.0 test/dummy/app/models/widget_configuration.rb
disco_app-0.14.4 test/dummy/app/models/widget_configuration.rb
disco_app-0.14.3 test/dummy/app/models/widget_configuration.rb
disco_app-0.16.1 test/dummy/app/models/widget_configuration.rb
disco_app-0.15.2 test/dummy/app/models/widget_configuration.rb
disco_app-0.14.0 test/dummy/app/models/widget_configuration.rb