Sha256: 253dbfed5e6dc69ef72f5d48d8bff2eb242c65b39d4dd0511e11358be6985815

Contents?: true

Size: 1.79 KB

Versions: 7

Compression:

Stored size: 1.79 KB

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasResultMethodSteps
        module Services
          module MethodStepConfig
            include Support::Concern

            # rubocop:disable Lint/ConstantDefinitionInBlock
            included do
              include ConvenientService::Core

              concerns do
                use ConvenientService::Service::Plugins::HasResult::Concern
              end

              middlewares :result do
                use ConvenientService::Common::Plugins::NormalizesEnv::Middleware

                use ConvenientService::Service::Plugins::HasResult::Middleware
              end

              class self::Result
                include ConvenientService::Core

                concerns do
                  use ConvenientService::Common::Plugins::HasInternals::Concern
                  use ConvenientService::Common::Plugins::HasConstructor::Concern
                  use ConvenientService::Service::Plugins::HasResult::Entities::Result::Plugins::HasJsendStatusAndAttributes::Concern
                end

                middlewares :initialize do
                  use ConvenientService::Common::Plugins::NormalizesEnv::Middleware

                  use ConvenientService::Service::Plugins::HasResult::Entities::Result::Plugins::HasJsendStatusAndAttributes::Middleware
                end

                class self::Internals
                  include ConvenientService::Core

                  concerns do
                    use ConvenientService::Common::Plugins::HasInternals::Entities::Internals::Plugins::HasCache::Concern
                  end
                end
              end
            end
            # rubocop:enable Lint/ConstantDefinitionInBlock
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
convenient_service-0.6.0 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb
convenient_service-0.5.0 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb
convenient_service-0.4.0 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb
convenient_service-0.3.1 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb
convenient_service-0.3.0 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb
convenient_service-0.2.1 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb
convenient_service-0.2.0 lib/convenient_service/service/plugins/has_result_method_steps/services/method_step_config.rb