Sha256: 58eff8a36c08f59941cde99349aaacb99cd9db35786a2c531b65e521ec38a190

Contents?: true

Size: 589 Bytes

Versions: 5

Compression:

Stored size: 589 Bytes

Contents

module Spree
  class BannerConfiguration < Preferences::Configuration
    preference :banner_default_url,   :string, default: '/spree/banners/:id/:style/:basename.:extension'
    preference :banner_path,          :string, default: ':rails_root/public/spree/banners/:id/:style/:basename.:extension'
    preference :banner_url,           :string, default: '/spree/banners/:id/:style/:basename.:extension'
    preference :banner_styles,        :hash,   default: {mini: '50x50>', small: '120x120>', large: '800x200>'}
    preference :banner_default_style, :string, default: 'small'

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_zaez_banner-3.0.4 app/models/spree/banner_configuration.rb
spree_zaez_banner-3.0.3 app/models/spree/banner_configuration.rb
spree_zaez_banner-3.0.2 app/models/spree/banner_configuration.rb
spree_zaez_banner-3.0.1 app/models/spree/banner_configuration.rb
spree_zaez_banner-3.0.0 app/models/spree/banner_configuration.rb