class Ovto::Middleware::Actions
Attributes
middleware_path[R]
Public Class Methods
new(middleware_path)
click to toggle source
# File lib/ovto/middleware.rb, line 87 def initialize(middleware_path) @middleware_path = middleware_path end
Public Instance Methods
middleware_name()
click to toggle source
The name of the middleware this Actions
belongs to
# File lib/ovto/middleware.rb, line 93 def middleware_name self.class::OVTO_MIDDLEWARE_NAME end
state()
click to toggle source
Calls superclass method
Ovto::Actions#state
# File lib/ovto/middleware.rb, line 97 def state app_state = super return Ovto::Middleware.dig_middleware_state(app_state, @middleware_path) end