class VAST::Extension

The VAST allows any valid XML within the extensions element. Use of extensions will necessarily require offline coordination between VAST sender and VAST receiver.

Public Instance Methods

type() click to toggle source

Extension type

# File lib/vast/extension.rb, line 7
def type
  source_node[:type]
end
xml() click to toggle source

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

# File lib/vast/extension.rb, line 14
def xml
  source_node
end