Sha256: f7a94682b88290ba17b0cae965ce28bc388fbe799d952adf4dc9e260293e0fbc

Contents?: true

Size: 452 Bytes

Versions: 7

Compression:

Stored size: 452 Bytes

Contents

module Vzaar
  module Request
    class EditVideo < Video
      authenticated true
      http_verb :put
      resource "Video"

      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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vzaar-1.4.1 lib/vzaar/request/edit_video.rb
vzaar-1.3.1 lib/vzaar/request/edit_video.rb
vzaar-1.3.0 lib/vzaar/request/edit_video.rb
vzaar-1.2.4 lib/vzaar/request/edit_video.rb
vzaar-1.2.3 lib/vzaar/request/edit_video.rb
vzaar-1.2.2 lib/vzaar/request/edit_video.rb
vzaar-1.0.0 lib/vzaar/request/edit_video.rb