Class: Openapi3Parser::Node::Server
- Inherits:
-
Object
- Object
- Object
- Openapi3Parser::Node::Server
show all
- Defined in:
- lib/openapi3_parser/node/server.rb
Overview
Instance Attribute Summary
Attributes inherited from Object
#node_context, #node_data
Instance Method Summary
collapse
Methods inherited from Object
#==, #[], #each, #extension, #initialize, #inspect, #node_at, #render_markdown, #values
Instance Method Details
#description ⇒ String?
15
16
17
|
# File 'lib/openapi3_parser/node/server.rb', line 15
def description
self["description"]
end
|
#description_html ⇒ String?
20
21
22
|
# File 'lib/openapi3_parser/node/server.rb', line 20
def description_html
render_markdown(description)
end
|
#url ⇒ String
10
11
12
|
# File 'lib/openapi3_parser/node/server.rb', line 10
def url
self["url"]
end
|
25
26
27
|
# File 'lib/openapi3_parser/node/server.rb', line 25
def variables
self["variables"]
end
|