Module: RestEngine
- Defined in:
- lib/rest_engine.rb,
lib/rest_engine/config.rb,
lib/rest_engine/engine.rb,
app/controllers/rest_engine/main_controller.rb,
app/controllers/rest_engine/application_controller.rb
Defined Under Namespace
Classes: ApplicationController, Config, Engine, MainController
Constant Summary collapse
- @@config =
nil
Class Method Summary collapse
Class Method Details
.config ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/rest_engine.rb', line 7 def self.config unless @@config config_file = File.join(Rails.root, 'config', 'rest_engine.yml') @@config = RestEngine::Config.new(config_file) end @@config end |