Class: RoutingFilter::ResultWrapper::RouteWithParams

Inherits:
Struct
  • Object
show all
Defined in:
lib/routing_filter/result_wrapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



3
4
5
# File 'lib/routing_filter/result_wrapper.rb', line 3

def params
  @params
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



3
4
5
# File 'lib/routing_filter/result_wrapper.rb', line 3

def url
  @url
end

Instance Method Details

#path(_) ⇒ Object



4
5
6
# File 'lib/routing_filter/result_wrapper.rb', line 4

def path(_)
  url
end