Module: ConvenientService::Service::Configs::Standard
- Includes:
- Config, ConvenientService::Service::Core
- Included in:
- Examples::Standard::Cowsay::Services::BuildCloud, Examples::Standard::Cowsay::Services::BuildCow, Examples::Standard::Cowsay::Services::Print, Examples::Standard::DateTime::Services::SafeParse, Examples::Standard::Factorial::Services::Calculate, Examples::Standard::Gemfile::Services::AssertFileExists, Examples::Standard::Gemfile::Services::AssertFileNotEmpty, Examples::Standard::Gemfile::Services::AssertNodeAvailable, Examples::Standard::Gemfile::Services::AssertNpmPackageAvailable, Examples::Standard::Gemfile::Services::AssertValidRubySyntax, Examples::Standard::Gemfile::Services::Format, Examples::Standard::Gemfile::Services::FormatBody, Examples::Standard::Gemfile::Services::FormatGemsWithEnvs, Examples::Standard::Gemfile::Services::FormatGemsWithoutEnvs, Examples::Standard::Gemfile::Services::FormatHeader, Examples::Standard::Gemfile::Services::MergeSections, Examples::Standard::Gemfile::Services::ParseContent, Examples::Standard::Gemfile::Services::PrintShellCommand, Examples::Standard::Gemfile::Services::ReadFileContent, Examples::Standard::Gemfile::Services::ReplaceFileContent, Examples::Standard::Gemfile::Services::RunShellCommand, Examples::Standard::Gemfile::Services::StripComments, Examples::Standard::RequestParams::Services::ApplyDefaultParamValues, Examples::Standard::RequestParams::Services::CastParams, Examples::Standard::RequestParams::Services::ExtractParamsFromBody, Examples::Standard::RequestParams::Services::ExtractParamsFromPath, Examples::Standard::RequestParams::Services::FilterOutUnpermittedParams, Examples::Standard::RequestParams::Services::LogRequestParams, Examples::Standard::RequestParams::Services::MergeParams, Examples::Standard::RequestParams::Services::Prepare, Examples::Standard::RequestParams::Services::ValidateCastedParams, Examples::Standard::RequestParams::Services::ValidateUncastedParams
- Defined in:
- lib/convenient_service/service/configs/standard.rb,
lib/convenient_service/service/configs/standard/v1.rb,
lib/convenient_service/service/configs/standard/commands/is_service.rb,
lib/convenient_service/service/configs/standard/commands/is_service_class.rb
Overview
Default configuration for the user-defined services.
Defined Under Namespace
Class Method Summary collapse
-
.service?(service) ⇒ Boolean
Checks whether an object is a service instance.
-
.service_class?(service_class) ⇒ Boolean
Checks whether a class is a service class.
Methods included from Config
Class Method Details
.service?(service) ⇒ Boolean
Checks whether an object is a service instance.
415 416 417 |
# File 'lib/convenient_service/service/configs/standard.rb', line 415 def service?(service) Commands::IsService[service: service] end |
.service_class?(service_class) ⇒ Boolean
Checks whether a class is a service class.
386 387 388 |
# File 'lib/convenient_service/service/configs/standard.rb', line 386 def service_class?(service_class) Commands::IsServiceClass[service_class: service_class] end |