Class: Lita::MiddlewareRegistry::MiddlewareWrapper Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/lita/middleware_registry.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A Rack middleware and its initialization arguments.

Since:

  • 4.0.2

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args


7
8
9
# File 'lib/lita/middleware_registry.rb', line 7

def args
  @args
end

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block


7
8
9
# File 'lib/lita/middleware_registry.rb', line 7

def block
  @block
end

#middlewareObject

Returns the value of attribute middleware

Returns:

  • (Object)

    the current value of middleware


7
8
9
# File 'lib/lita/middleware_registry.rb', line 7

def middleware
  @middleware
end