Sha256: 01cd8f54f72b87e1c415e1c2cae90aaeaee6696734630cc835ec61a8a4f4e495
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
module Naf class Configuration attr_accessor :schema_name, :model_class, :ui_controller_class, :api_controller_class, :title, :layout, :default_page_options, :api_domain_cookie_name, :simple_cluster_authenticator_cookie_expiration_time, :metric_tags, :metric_send_delay def initialize @model_class = "::ActiveRecord::Base" @ui_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] @api_controller_class = "Naf::ApiSimpleClusterAuthenticatorApplicationController" @simple_cluster_authenticator_cookie_expiration_time = 1.week @api_domain_cookie_name = "naf_#{Rails.application.class.parent.name.underscore}" @metric_tags = ["#{Rails.env}"] @metric_send_delay = 120 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
naf-2.1.13 | lib/naf/configuration.rb |