Sha256: f081751227fc46300d4afc8b6e6616340fc83a4e5a949cf8a752b2db619c1899

Contents?: true

Size: 665 Bytes

Versions: 5

Compression:

Stored size: 665 Bytes

Contents

module Naf
  class Configuration
    attr_accessor :schema_name,
                  :model_class,
                  :controller_class,
                  :title,
                  :papertrail_group_id,
                  :papertrail_token,
                  :layout,
                  :default_page_options

    def initialize
      @model_class = "::ActiveRecord::Base"
      @controller_class = "::ApplicationController"
      @title = "Naf - a Rails Job Scheduling Engine"
      @papertrail_group_id = nil
      @papertrail_token = nil
      @layout = "naf_layout"
      @default_page_options = [10, 20, 50, 100, 250, 500, 750, 1000, 1500, 2000]
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
naf-1.1.4 lib/naf/configuration.rb
naf-1.1.3 lib/naf/configuration.rb
naf-1.1.2 lib/naf/configuration.rb
naf-1.1.1 lib/naf/configuration.rb
naf-1.1.0 lib/naf/configuration.rb