Exception: Configuration::HMACMismatchError
- Inherits:
-
HMACAuthenticationFailedError
- Object
- ArgumentError
- HMACAuthenticationFailedError
- Configuration::HMACMismatchError
- Defined in:
- lib/httpimagestore/configuration/validate_hmac.rb
Instance Method Summary collapse
-
#initialize(expected_hmac, uri, digest) ⇒ HMACMismatchError
constructor
A new instance of HMACMismatchError.
Constructor Details
#initialize(expected_hmac, uri, digest) ⇒ HMACMismatchError
Returns a new instance of HMACMismatchError.
24 25 26 |
# File 'lib/httpimagestore/configuration/validate_hmac.rb', line 24 def initialize(expected_hmac, uri, digest) super digest, "provided HMAC '#{expected_hmac}' for URI '#{uri}' is not valid" end |