Module: ConvenientService::Service::Plugins::HasJSendResultParamsValidations::UsingActiveModelValidations::Concern Private

Includes:
ActiveModel::Validations, Core::Entities::Config::Entities::Concerns::Usual
Defined in:
lib/convenient_service/service/plugins/has_j_send_result_params_validations/using_active_model_validations/concern.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Class Method Summary collapse

Methods included from Core::Entities::Config::Entities::Concerns::Usual

included

Class Method Details

.with(skip_validations: false) ⇒ Module

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • skip_validations (Boolean) (defaults to: false)

Returns:

  • (Module)

Since:

  • 1.0.0



21
22
23
24
25
# File 'lib/convenient_service/service/plugins/has_j_send_result_params_validations/using_active_model_validations/concern.rb', line 21

def with(skip_validations: false)
  return self unless skip_validations

  Plugins::HasJSendResultParamsValidations::UsingActiveModelValidations::NoOpConcern
end