Class: Flo::Config::LazyCreds
- Inherits:
-
Object
- Object
- Flo::Config::LazyCreds
- Defined in:
- lib/flo/config.rb
Overview
A placeholder for credentials that can be evaluated at a later time
Instance Method Summary collapse
-
#[](key) ⇒ lambda
Returns a lambda that takes a credential store for a specific provider as an argument.
Instance Method Details
#[](key) ⇒ lambda
Returns a lambda that takes a credential store for a specific provider as an argument. This prevents providers from accessing the credentials for another provider
24 25 26 |
# File 'lib/flo/config.rb', line 24 def [](key) lambda { |cred_store| cred_store[key] } end |