Sha256: c9f22b41de577878f9e9ff15900bd5002ac2fc33ca4b93eada94e39893a6aaa0

Contents?: true

Size: 721 Bytes

Versions: 3

Compression:

Stored size: 721 Bytes

Contents

# frozen_string_literal: true

module Sail
  # Configuration
  # This class keeps the configuration
  # data for the gem.
  # Defaults be found here and can be
  # overridden in an initializer, environment
  # file or application.rb
  class Configuration
    attr_accessor :cache_life_span, :array_separator, :dashboard_auth_lambda,
                  :back_link_path, :enable_search_auto_submit, :days_until_stale,
                  :enable_logging

    def initialize
      @cache_life_span = 10.minutes
      @array_separator = ";"
      @dashboard_auth_lambda = nil
      @back_link_path = "root_path"
      @enable_search_auto_submit = true
      @days_until_stale = 60
      @enable_logging = true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sail-3.0.0 lib/sail/configuration.rb
sail-2.1.1 lib/sail/configuration.rb
sail-2.1.0 lib/sail/configuration.rb