Sha256: 78504888a21eb644a9e7be307ecc6523a1b5e7c162b468cdc6607f07f6cd59d4

Contents?: true

Size: 525 Bytes

Versions: 12

Compression:

Stored size: 525 Bytes

Contents

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

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

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
naf-2.1.6 lib/naf/configuration.rb
naf-2.1.5 lib/naf/configuration.rb
naf-2.1.4 lib/naf/configuration.rb
naf-2.1.3 lib/naf/configuration.rb
naf-2.1.2 lib/naf/configuration.rb
naf-2.1.1 lib/naf/configuration.rb
naf-2.1.0 lib/naf/configuration.rb
naf-2.0.4 lib/naf/configuration.rb
naf-2.0.3 lib/naf/configuration.rb
naf-2.0.2 lib/naf/configuration.rb
naf-2.0.1 lib/naf/configuration.rb
naf-2.0.0 lib/naf/configuration.rb