lib/convenient_service/support/cache/exceptions.rb in convenient_service-0.16.0 vs lib/convenient_service/support/cache/exceptions.rb in convenient_service-0.17.0
- old
+ new
@@ -7,17 +7,17 @@
class NotSupportedBackend < ::ConvenientService::Exception
##
# @param backend [Symbol]
# @return [void]
#
- def initialize(backend:)
+ def initialize_with_kwargs(backend:)
message = <<~TEXT
Backend `#{backend}` is NOT supported.
Supported backends are #{printable_backends}.
TEXT
- super(message)
+ initialize(message)
end
private
##