Exception: Jeckle::NoUsernameOrPasswordError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- Jeckle::NoUsernameOrPasswordError
- Defined in:
- lib/jeckle/errors.rb
Instance Method Summary collapse
-
#initialize(credentials) ⇒ NoUsernameOrPasswordError
constructor
A new instance of NoUsernameOrPasswordError.
Constructor Details
#initialize(credentials) ⇒ NoUsernameOrPasswordError
Returns a new instance of NoUsernameOrPasswordError.
19 20 21 22 23 24 25 26 27 |
# File 'lib/jeckle/errors.rb', line 19 def initialize(credentials) = %{No such keys "username" and "password" on `basic_auth` definition" Heckle: - Hey chum, what we can do now? Jeckle: - Old chap, you need to define a username and a password for basic auth! } super end |