Class: Signpost::Endpoint::Redirect::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/signpost/endpoint/redirect.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env.



7
8
9
# File 'lib/signpost/endpoint/redirect.rb', line 7

def env
  @env
end

#paramsObject (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 expand(path, data={})
  @router.expand(path, data)
end