Sha256: 707789268129b373ba1f6f751ce95c4fdd16cb49f1fa560aa5c38fa4521d8b74
Contents?: true
Size: 997 Bytes
Versions: 1
Compression:
Stored size: 997 Bytes
Contents
module Vzaar module Request class LinkUpload < Base endpoint "/api/upload/link" authenticated true http_verb :post resource "LinkUpload" def xml_body <<-XML <?xml version="1.0" encoding="UTF-8"?> <vzaar-api> <link_upload> <key>#{options[:key]}</key> <guid>#{options[:guid]}</guid> <url>#{options[:url]}</url> <encoding_params> <title>#{options[:title]}</title> <description>#{options[:description]}</description> <profile>#{options[:profile]}</profile> <bitrate>#{options[:bitrate]}</bitrate> <width>#{options[:width]}</width> <replace_id>#{options[:replace_id]}</replace_id> <transcoding>#{options[:transcoding]}</transcoding> </encoding_params> </link_upload> </vzaar-api> XML end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vzaar-1.0.0 | lib/vzaar/request/link_upload.rb |