Module: Ravioli::RailsConfig

Defined in:
lib/ravioli/railtie.rb

Instance Method Summary collapse

Instance Method Details

#configObject



7
8
9
10
11
12
13
# File 'lib/ravioli/railtie.rb', line 7

def config
  Ravioli.default || Ravioli.build(namespace: Rails.application&.class&.module_parent, strict: Rails.env.production?) do |config|
    config.add_staging_flag!
    config.auto_load_files!
    config.auto_load_credentials!
  end
end