Class: HttpDecoy::Router::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/http_decoy/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/http_decoy/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/http_decoy/router.rb', line 7

def route
  @route
end