class Shaf::Authenticator::Base::WrongCredentialsReturnTypeError

Public Class Methods

new(authenticator, clazz) click to toggle source
Calls superclass method
# File lib/shaf/authenticator/base.rb, line 22
        def initialize(authenticator, clazz)
          super <<~ERR
            #{authenticator}.credentials return an instance of #{clazz}
              It must return an instance of Hash.
              Location: #{authenticator.method(:credentials).source_location})
          ERR
        end