Sha256: 06186a323f982f9336881be251892608a9085d90f371112f5277d9e67ac93488
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 Success 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