Class: Hyraft::Router::ApiRouter::Route

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

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name

Returns:

  • (Object)

    the current value of action_name



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

def action_name
  @action_name
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/api_router.rb', line 5

def handler_class
  @handler_class
end

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method



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

def http_method
  @http_method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



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

def path
  @path
end

#regexObject

Returns the value of attribute regex

Returns:

  • (Object)

    the current value of regex



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

def regex
  @regex
end