Class: Signpost::Endpoint::Redirect::Context
- Inherits:
-
Object
- Object
- Signpost::Endpoint::Redirect::Context
- Defined in:
- lib/signpost/endpoint/redirect.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
7 8 9 |
# File 'lib/signpost/endpoint/redirect.rb', line 7 def env @env end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
7 8 9 |
# File 'lib/signpost/endpoint/redirect.rb', line 7 def params @params end |
Instance Method Details
#expand(path, data = {}) ⇒ Object
9 10 11 |
# File 'lib/signpost/endpoint/redirect.rb', line 9 def (path, data={}) @router.(path, data) end |