Module: Deimos::Utils::SchemaControllerMixin::ClassMethods

Defined in:
sig/defs.rbs

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#namespacevoid

This method returns an undefined value.

Set the namespace for both requests and responses.

@param name

Parameters:

  • name (String)


1199
# File 'sig/defs.rbs', line 1199

def namespace: (String name) -> void

#namespaces::Hash[Symbol, String]

Returns:

  • (::Hash[Symbol, String])


1194
# File 'sig/defs.rbs', line 1194

def namespaces: () -> ::Hash[Symbol, String]

#request_namespacevoid

This method returns an undefined value.

Set the namespace for requests.

@param name

Parameters:

  • name (String)


1204
# File 'sig/defs.rbs', line 1204

def request_namespace: (String name) -> void

#response_namespacevoid

This method returns an undefined value.

Set the namespace for repsonses.

@param name

Parameters:

  • name (String)


1209
# File 'sig/defs.rbs', line 1209

def response_namespace: (String name) -> void

#schema_mapping::Hash[String, ::Hash[Symbol, String]]

Returns:

  • (::Hash[String, ::Hash[Symbol, String]])


1176
# File 'sig/defs.rbs', line 1176

def schema_mapping: () -> ::Hash[String, ::Hash[Symbol, String]]

#schemasObject

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: (