Class: Hyraft::Router::WebRouter::Route

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

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



8
9
10
# File 'lib/hyraft/router/web_router.rb', line 8

def action
  @action
end

#handler_classObject

Returns the value of attribute handler_class

Returns:

  • (Object)

    the current value of handler_class



8
9
10
# File 'lib/hyraft/router/web_router.rb', line 8

def handler_class
  @handler_class
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



8
9
10
# File 'lib/hyraft/router/web_router.rb', line 8

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



8
9
10
# File 'lib/hyraft/router/web_router.rb', line 8

def path
  @path
end

#templateObject

Returns the value of attribute template

Returns:

  • (Object)

    the current value of template



8
9
10
# File 'lib/hyraft/router/web_router.rb', line 8

def template
  @template
end