Class: Wurk::Web::Extension::Action::Redirect

Inherits:
Struct
  • Object
show all
Defined in:
lib/wurk/web/extension.rb

Overview

Redirect signal carried out of a route block via throw/catch. external marks redirect_to (upstream's off-site redirect), which skips the mount rewrite redirect gets.

Instance Attribute Summary collapse

Instance Attribute Details

#external ⇒ Object

Returns the value of attribute external

Returns:

  • (Object) —

    the current value of external



141
142
143
# File 'lib/wurk/web/extension.rb', line 141

def external
  @external
end

#location ⇒ Object

Returns the value of attribute location

Returns:

  • (Object) —

    the current value of location



141
142
143
# File 'lib/wurk/web/extension.rb', line 141

def location
  @location
end