Class: DbUrlHelper::Credentials::Credentialias
Constant Summary
collapse
- DEPENDS =
"Credentialias::Helper"
- WEIGHT =
10
Instance Attribute Summary
Attributes inherited from Generic
#service
Instance Method Summary
collapse
base, included, #testable?
Methods inherited from Generic
#filters, #filters=, #initialize, #load, weight, #weight
Instance Method Details
#credential ⇒ Object
14
15
16
|
# File 'lib/db_url_helper/credentials/credentialias.rb', line 14
def credential
@credential ||= ::Credentialias::Helper.load(service, tags: filters) rescue super
end
|
#password ⇒ Object
11
12
13
|
# File 'lib/db_url_helper/credentials/credentialias.rb', line 11
def password
credential.password rescue nil
end
|
#user ⇒ Object
8
9
10
|
# File 'lib/db_url_helper/credentials/credentialias.rb', line 8
def user
credential.user rescue nil
end
|