Sha256: 3b9cc3338dde02ee94c0a0e76bc702cd7b3539ab604b7e9cd9b3a523d01713ed

Contents?: true

Size: 638 Bytes

Versions: 9

Compression:

Stored size: 638 Bytes

Contents

module Comable
  module Core
    module Configuration
      mattr_accessor :devise_strategies
      @@devise_strategies = {
        user: [:database_authenticatable, :registerable, :recoverable, :rememberable, :trackable]
      }

      mattr_accessor :products_per_page
      @@products_per_page = 15

      mattr_accessor :orders_per_page
      @@orders_per_page = 5

      mattr_accessor :export_xlsx_header_style
      @@export_xlsx_header_style = { bg_color: '00000000', fg_color: 'ffffffff', alignment: { horizontal: :center }, bold: true }

      mattr_accessor :export_xlsx_style
      @@export_xlsx_style = nil
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
comable-core-0.7.1 lib/comable/core/configuration.rb
comable-core-0.7.0 lib/comable/core/configuration.rb
comable-core-0.7.0.beta2 lib/comable/core/configuration.rb
comable-core-0.7.0.beta1 lib/comable/core/configuration.rb
comable-core-0.6.0 lib/comable/core/configuration.rb
comable_core-0.5.0 lib/comable/core/configuration.rb
comable_core-0.4.2 lib/comable/core/configuration.rb
comable_core-0.4.1 lib/comable/core/configuration.rb
comable_core-0.4.0 lib/comable/core/configuration.rb