Class: CredsEnv::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- CredsEnv::Railtie
- Defined in:
- lib/creds_env/rails.rb
Overview
CredsEnv Railtie for using CredsEnv to load environment from Rails encrypted credentials
Class Method Summary collapse
-
.load ⇒ Object
Rails uses ‘#method_missing` to delegate all class methods to the instance, which means `Kernel#load` gets called here.
Instance Method Summary collapse
-
#load ⇒ Object
Public: Load CredsEnv.
Class Method Details
.load ⇒ Object
Rails uses ‘#method_missing` to delegate all class methods to the instance, which means `Kernel#load` gets called here. We don’t want that.
17 18 19 |
# File 'lib/creds_env/rails.rb', line 17 def self.load instance.load end |