Exception: Ask::Auth::MissingCredential

Inherits:
KeyError
  • Object
show all
Defined in:
lib/ask/auth.rb

Instance Method Summary collapse

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