Class: Vzaar::Request::UploadThumbnail

Inherits:
GenerateThumbnail show all
Defined in:
lib/vzaar/request/upload_thumbnail.rb

Instance Attribute Summary

Attributes inherited from Base

#conn, #opts

Instance Method Summary collapse

Methods inherited from GenerateThumbnail

#json_body, #xml_body

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

#dataObject



6
7
8
# File 'lib/vzaar/request/upload_thumbnail.rb', line 6

def data
  { file: File.open(options[:path]) }
end