Sha256: 4991a17cddf2bd467212e253e7b4d74ef4a455a84f53daee38e86a0c063e1199
Contents?: true
Size: 856 Bytes
Versions: 13
Compression:
Stored size: 856 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasResult module Entities class Result module Plugins module HasJsendStatusAndAttributes class Middleware < Core::MethodChainMiddleware ## # @param args [Array] # @param kwargs [Hash] # @param block [Proc] # @return [void] # def next(*args, **kwargs, &block) entity.internals.cache[:jsend_attributes] = Commands::CastJSendAttributes.call(attributes: kwargs) chain.next(*args, **kwargs, &block) end end end end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems