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



5
6
7
# File 'lib/hyraft/router/web_router.rb', line 5

def action
  @action
end

#handler_classObject

Returns the value of attribute handler_class

Returns:

  • (Object)

    the current value of handler_class



5
6
7
# File 'lib/hyraft/router/web_router.rb', line 5

def handler_class
  @handler_class
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



5
6
7
# File 'lib/hyraft/router/web_router.rb', line 5

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/hyraft/router/web_router.rb', line 5

def path
  @path
end

#templateObject

Returns the value of attribute template

Returns:

  • (Object)

    the current value of template



5
6
7
# File 'lib/hyraft/router/web_router.rb', line 5

def template
  @template
end