Class: DbUrlHelper::Credentials::Environment
- Includes:
- Registerable
- Defined in:
- lib/db_url_helper/credentials/environment.rb
Constant Summary collapse
- DEPENDS =
"ENV"
- WEIGHT =
1
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
Methods included from Registerable
Methods inherited from Generic
#credential, #filters, #filters=, #initialize, #load, weight, #weight
Constructor Details
This class inherits a constructor from DbUrlHelper::Credentials::Generic
Instance Method Details
#password ⇒ Object
10 11 12 |
# File 'lib/db_url_helper/credentials/environment.rb', line 10 def password ENV['DB_PASSWORD'] end |
#user ⇒ Object
7 8 9 |
# File 'lib/db_url_helper/credentials/environment.rb', line 7 def user ENV['DB_USER'] end |