Class: NuHttp::Router::Route

Inherits:
Data
  • Object
show all
Defined in:
lib/nuhttp/router.rb

Instance Attribute Summary collapse

Instance Attribute Details

#handlerObject (readonly)

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



6
7
8
# File 'lib/nuhttp/router.rb', line 6

def handler
  @handler
end

#methodObject (readonly)

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



6
7
8
# File 'lib/nuhttp/router.rb', line 6

def method
  @method
end

#patternObject (readonly)

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



6
7
8
# File 'lib/nuhttp/router.rb', line 6

def pattern
  @pattern
end