Exception: Waves::Dispatchers::Redirect
- Defined in:
- lib/dispatchers/base.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(path, status = '302') ⇒ Redirect
constructor
A new instance of Redirect.
Constructor Details
#initialize(path, status = '302') ⇒ Redirect
Returns a new instance of Redirect.
9 10 11 12 |
# File 'lib/dispatchers/base.rb', line 9 def initialize( path, status = '302' ) @path = path @status = status end |