Class: HttpFake::Router::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/httpfake/router.rb

Instance Attribute Summary collapse

Instance Attribute Details

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



7
8
9
# File 'lib/httpfake/router.rb', line 7

def params
  @params
end

#routeObject

Returns the value of attribute route

Returns:

  • (Object)

    the current value of route



7
8
9
# File 'lib/httpfake/router.rb', line 7

def route
  @route
end