Class: ConvenientService::Common::Plugins::AssignsAttributesInConstructor::UsingActiveModelAttributeAssignment::Middleware
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Common::Plugins::AssignsAttributesInConstructor::UsingActiveModelAttributeAssignment::Middleware
- Defined in:
- lib/convenient_service/common/plugins/assigns_attributes_in_constructor/using_active_model_attribute_assignment/middleware.rb
Instance Method Summary collapse
Instance Method Details
#next(*args, **kwargs, &block) ⇒ void
This method returns an undefined value.
25 26 27 28 29 |
# File 'lib/convenient_service/common/plugins/assigns_attributes_in_constructor/using_active_model_attribute_assignment/middleware.rb', line 25 def next(*args, **kwargs, &block) chain.next(*args, **kwargs, &block) entity.assign_attributes(kwargs) end |