Module: Meta
- Defined in:
- lib/meta/application.rb,
lib/meta/rails.rb,
lib/meta/config.rb,
lib/meta/entity.rb,
lib/meta/errors.rb,
lib/meta/utils/path.rb,
lib/meta/swagger_doc.rb,
lib/meta/application/route.rb,
lib/meta/utils/kwargs/check.rb,
lib/meta/application/metadata.rb,
lib/meta/utils/kwargs/builder.rb,
lib/meta/utils/kwargs/checker.rb,
lib/meta/application/execution.rb,
lib/meta/application/parameters.rb,
lib/meta/route_dsl/meta_builder.rb,
lib/meta/application/application.rb,
lib/meta/route_dsl/chain_builder.rb,
lib/meta/route_dsl/route_builder.rb,
lib/meta/route_dsl/action_builder.rb,
lib/meta/utils/route_dsl_builders.rb,
lib/meta/application/linked_action.rb,
lib/meta/json_schema/support/errors.rb,
lib/meta/route_dsl/parameters_builder.rb,
lib/meta/application/path_matching_mod.rb,
lib/meta/route_dsl/application_builder.rb,
lib/meta/json_schema/schemas/properties.rb,
lib/meta/json_schema/schemas/ref_schema.rb,
lib/meta/json_schema/support/presenters.rb,
lib/meta/json_schema/support/validators.rb,
lib/meta/json_schema/schemas/base_schema.rb,
lib/meta/route_dsl/around_action_builder.rb,
lib/meta/json_schema/schemas/array_schema.rb,
lib/meta/json_schema/schemas/object_schema.rb,
lib/meta/json_schema/schemas/dynamic_schema.rb,
lib/meta/json_schema/schemas/scoping_schema.rb,
lib/meta/json_schema/schemas/staging_schema.rb,
lib/meta/json_schema/support/schema_options.rb,
lib/meta/json_schema/support/type_converter.rb,
lib/meta/route_dsl/uniformed_params_builder.rb,
lib/meta/json_schema/schemas/unsupported_schema.rb,
lib/meta/json_schema/builders/ref_schema_builder.rb,
lib/meta/json_schema/builders/schema_builder_tool.rb,
lib/meta/json_schema/builders/array_schema_builder.rb,
lib/meta/json_schema/builders/object_schema_builder.rb,
lib/meta/json_schema/builders/dynamic_schema_builder.rb
Overview
洋葱圈模型的链式调用,需要结合 Meta::RouteDSL::AroundActionBuilder 才可以看到它奇效。
Defined Under Namespace
Modules: Errors, JsonSchema, Rails, RouteDSL, SwaggerDocUtil, Utils Classes: Application, Entity, Execution, LinkedAction, Metadata, Parameters, PathMatching, PathMatchingMod, Route
Constant Summary collapse
- DEFAULT_OPTIONS =
{ default_locked_scope: nil, json_schema_user_options: {}, json_schema_param_stage_user_options: {}, json_schema_render_stage_user_options: {} }
Class Attribute Summary collapse
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object (readonly)
Returns the value of attribute config.
14 15 16 |
# File 'lib/meta/config.rb', line 14 def config @config end |
Class Method Details
.initialize_configuration(*options_list) ⇒ Object
16 17 18 19 |
# File 'lib/meta/config.rb', line 16 def initialize_configuration(*) = .reduce(DEFAULT_OPTIONS, :deep_merge) @config = HashToStruct.struct() end |