Method: UEncode::VideoOutput#to_xml

Defined in:
lib/uencode/elements.rb

#to_xmlObject



103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/uencode/elements.rb', line 103

def to_xml
  %Q{
    <output>
      <video>
        <destination>#{destination}</destination>
        <container>#{container}</container>
        <media>
          #{@items.inject("") { |s, item| s << item.to_xml }}
        </media>
      </video>
    </output>
  }
end