Class: Rivulet::Routing::Route

Inherits:
Struct
  • Object
show all
Defined in:
lib/rivulet/routing/route.rb

Instance Attribute Summary collapse

Instance Attribute Details

#callableObject

Returns the value of attribute callable

Returns:

  • (Object)

    the current value of callable



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def callable
  @callable
end

#handler_nameObject

Returns the value of attribute handler_name

Returns:

  • (Object)

    the current value of handler_name



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def handler_name
  @handler_name
end

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def http_method
  @http_method
end

#param_namesObject

Returns the value of attribute param_names

Returns:

  • (Object)

    the current value of param_names



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def param_names
  @param_names
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def path
  @path
end

#path_regexObject

Returns the value of attribute path_regex

Returns:

  • (Object)

    the current value of path_regex



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def path_regex
  @path_regex
end

#scopesObject

Returns the value of attribute scopes

Returns:

  • (Object)

    the current value of scopes



3
4
5
# File 'lib/rivulet/routing/route.rb', line 3

def scopes
  @scopes
end