Class: VAST::Extension
Overview
The VAST allows any valid XML within the extensions element. Use of extensions will necessarily require offline coordination between VAST sender and VAST receiver.
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#type ⇒ Object
Extension type.
-
#xml ⇒ Object
Access to the XML contents of this extension, as a Nokogiri::XML::Node nokogiri.rubyforge.org/nokogiri/Nokogiri/XML/Node.html.
Methods inherited from Element
Constructor Details
This class inherits a constructor from VAST::Element
Instance Method Details
#type ⇒ Object
Extension type
7 8 9 |
# File 'lib/vast/extension.rb', line 7 def type source_node[:type] end |
#xml ⇒ Object
Access to the XML contents of this extension, as a Nokogiri::XML::Node nokogiri.rubyforge.org/nokogiri/Nokogiri/XML/Node.html. Alias of Extension#source_node
14 15 16 |
# File 'lib/vast/extension.rb', line 14 def xml source_node end |