Exception: Jeckle::NoUsernameOrPasswordError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/jeckle/errors.rb

Instance Method Summary collapse

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)
  message = %{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 message
end