Class: Vzaar::Request::EditVideo

Inherits:
Video
  • Object
show all
Defined in:
lib/vzaar/request/edit_video.rb

Instance Attribute Summary

Attributes inherited from Base

#conn, #opts

Instance Method Summary collapse

Methods inherited from Video

#video_id

Methods inherited from Base

endpoint, #execute, format, resource

Methods included from Helper

#blank?, #hash_to_xml, #symb_keys

Instance Method Details

#xml_bodyObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/vzaar/request/edit_video.rb', line 8

def xml_body
  <<-XML
    <?xml version="1.0" encoding="UTF-8"?>
    <vzaar-api>
      <video>
        <title>#{options[:title]}</title>
        <description>#{options[:description]}</description >
      </video>
    </vzaar-api>
  XML
end