Exception: Ask::Auth::MissingCredential
- Inherits:
-
KeyError
- Object
- KeyError
- Ask::Auth::MissingCredential
- Defined in:
- lib/ask/auth.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ MissingCredential
constructor
A new instance of MissingCredential.
Constructor Details
#initialize(name) ⇒ MissingCredential
Returns a new instance of MissingCredential.
21 22 23 24 25 |
# File 'lib/ask/auth.rb', line 21 def initialize(name) super("No credential found for #{name.inspect}. " \ "Set #{name.to_s.upcase} in your environment, add it to ~/.ask/credentials.yml, " \ "or configure a provider.") end |