Sha256: d8b9774f632feea3128271211ae8b3ad9d49ae3a3760d94e38f51de1fd5204c4
Contents?: true
Size: 296 Bytes
Versions: 1
Compression:
Stored size: 296 Bytes
Contents
module Vzaar module Request class UploadThumbnail < Video endpoint { |o| "/api/videos/#{o.video_id}/upload_thumb" } authenticated true http_verb :post resource "UploadThumbnail" def data { file: File.open(options[:path]) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vzaar-1.0.0 | lib/vzaar/request/upload_thumbnail.rb |