Module: Deimos::Utils::SchemaControllerMixin::ClassMethods
- Defined in:
- sig/defs.rbs
Overview
:nodoc:
Instance Method Summary collapse
-
#namespace ⇒ void
Set the namespace for both requests and responses.
- #namespaces ⇒ ::Hash[Symbol, String]
-
#request_namespace ⇒ void
Set the namespace for requests.
-
#response_namespace ⇒ void
Set the namespace for repsonses.
- #schema_mapping ⇒ ::Hash[String, ::Hash[Symbol, String]]
-
#schemas ⇒ Object
Indicate which schemas should be assigned to actions.
Instance Method Details
#namespace ⇒ void
This method returns an undefined value.
Set the namespace for both requests and responses.
@param name
1199 |
# File 'sig/defs.rbs', line 1199
def namespace: (String name) -> void
|
#namespaces ⇒ ::Hash[Symbol, String]
1194 |
# File 'sig/defs.rbs', line 1194
def namespaces: () -> ::Hash[Symbol, String]
|
#request_namespace ⇒ void
This method returns an undefined value.
Set the namespace for requests.
@param name
1204 |
# File 'sig/defs.rbs', line 1204
def request_namespace: (String name) -> void
|
#response_namespace ⇒ void
This method returns an undefined value.
Set the namespace for repsonses.
@param name
1209 |
# File 'sig/defs.rbs', line 1209
def response_namespace: (String name) -> void
|
#schema_mapping ⇒ ::Hash[String, ::Hash[Symbol, String]]
1176 |
# File 'sig/defs.rbs', line 1176
def schema_mapping: () -> ::Hash[String, ::Hash[Symbol, String]]
|
#schemas ⇒ Object
Indicate which schemas should be assigned to actions.
@param actions
@param kwactions
@param request
@param response
1187 |
# File 'sig/defs.rbs', line 1187
def schemas: (
|