Class: Openapi3Parser::Nodes::Xml

Inherits:
Object
  • Object
show all
Includes:
Openapi3Parser::Node::Object
Defined in:
lib/openapi3_parser/nodes/xml.rb

Overview

Instance Attribute Summary

Attributes included from Openapi3Parser::Node::Object

#node_context, #node_data

Instance Method Summary collapse

Methods included from Openapi3Parser::Node::Object

#[], #each, #extension, #initialize

Instance Method Details

#attribute?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/openapi3_parser/nodes/xml.rb', line 27

def attribute?
  node_data["attribute"]
end

#nameString?

Returns:

  • (String, nil)


12
13
14
# File 'lib/openapi3_parser/nodes/xml.rb', line 12

def name
  node_data["name"]
end

#namespaceString?

Returns:

  • (String, nil)


17
18
19
# File 'lib/openapi3_parser/nodes/xml.rb', line 17

def namespace
  node_data["namespace"]
end

#prefixString?

Returns:

  • (String, nil)


22
23
24
# File 'lib/openapi3_parser/nodes/xml.rb', line 22

def prefix
  node_data["prefix"]
end

#wrapped?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/openapi3_parser/nodes/xml.rb', line 32

def wrapped?
  node_data["wrapped"]
end