Sha256: 5e932bcc49e4639fbbf64965bd1c265c098f99d77d3258aeb31fa8b67674489b
Contents?: true
Size: 476 Bytes
Versions: 15
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasResultShortSyntax module Failure class Middleware < Core::MethodChainMiddleware def next(**kwargs) Commands::RefuteKwargsContainDataAndExtraKeys.call(kwargs: kwargs) kwargs.has_key?(:data) ? chain.next(**kwargs) : chain.next(data: kwargs) end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems