Class: Railbus::RouteSet::Route
- Inherits:
-
Struct
- Object
- Struct
- Railbus::RouteSet::Route
- Defined in:
- lib/railbus/route_set.rb
Overview
Example: get, /users/:id, [‘/users/’, ‘id’], [‘id’], user
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#parts ⇒ Object
Returns the value of attribute parts.
-
#path ⇒ Object
Returns the value of attribute path.
-
#required ⇒ Object
Returns the value of attribute required.
-
#verb ⇒ Object
Returns the value of attribute verb.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/railbus/route_set.rb', line 4 def name @name end |
#parts ⇒ Object
Returns the value of attribute parts
4 5 6 |
# File 'lib/railbus/route_set.rb', line 4 def parts @parts end |
#path ⇒ Object
Returns the value of attribute path
4 5 6 |
# File 'lib/railbus/route_set.rb', line 4 def path @path end |
#required ⇒ Object
Returns the value of attribute required
4 5 6 |
# File 'lib/railbus/route_set.rb', line 4 def required @required end |
#verb ⇒ Object
Returns the value of attribute verb
4 5 6 |
# File 'lib/railbus/route_set.rb', line 4 def verb @verb end |