Sha256: 9e812a7254eeb236b8096a3507bea64c8822284b7316ae2ce39e0667a5f338d3
Contents?: true
Size: 1.9 KB
Versions: 5
Compression:
Stored size: 1.9 KB
Contents
# frozen_string_literal: true ## # Usage example: # # result = ConvenientService::Examples::Rails::Gemfile.format(path: "Gemfile") # result = ConvenientService::Examples::Rails::Gemfile.format(path: "spec/cli/gemfile/format/fixtures/Gemfile") # module ConvenientService module Examples module Rails class Gemfile class RailsService module Config include Support::Concern included do include ConvenientService::Standard::Config ## # NOTE: `AssignsAttributesInConstructor::UsingActiveModelAttributeAssignment` plugin. # concerns do use ConvenientService::Plugins::Common::AssignsAttributesInConstructor::UsingActiveModelAttributeAssignment::Concern end middlewares :initialize do use ConvenientService::Plugins::Common::AssignsAttributesInConstructor::UsingActiveModelAttributeAssignment::Middleware end ## # NOTE: `HasAttributes::UsingActiveModelAttributes` plugin. # concerns do use ConvenientService::Plugins::Common::HasAttributes::UsingActiveModelAttributes::Concern end ## # NOTE: `HasJSendResultParamsValidations::UsingActiveModelValidations` plugin. # concerns do use ConvenientService::Plugins::Service::HasJSendResultParamsValidations::UsingActiveModelValidations::Concern end middlewares :result do insert_before \ ConvenientService::Plugins::Service::RaisesOnNotResultReturnValue::Middleware, ConvenientService::Plugins::Service::HasJSendResultParamsValidations::UsingActiveModelValidations::Middleware end end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems