Class: OpenapiFirst::Router::Route
- Inherits:
-
Data
- Object
- Data
- OpenapiFirst::Router::Route
- Defined in:
- lib/openapi_first/router.rb
Overview
Returned by #routes to introspect all routes
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#request_method ⇒ Object
readonly
Returns the value of attribute request_method.
-
#requests ⇒ Object
readonly
Returns the value of attribute requests.
-
#responses ⇒ Object
readonly
Returns the value of attribute responses.
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
19 20 21 |
# File 'lib/openapi_first/router.rb', line 19 def path @path end |
#request_method ⇒ Object (readonly)
Returns the value of attribute request_method
19 20 21 |
# File 'lib/openapi_first/router.rb', line 19 def request_method @request_method end |
#requests ⇒ Object (readonly)
Returns the value of attribute requests
19 20 21 |
# File 'lib/openapi_first/router.rb', line 19 def requests @requests end |
#responses ⇒ Object (readonly)
Returns the value of attribute responses
19 20 21 |
# File 'lib/openapi_first/router.rb', line 19 def responses @responses end |