Sha256: f1bb6da899d274e75dd87b1f57db590c5652310248ed4c0097171b0a56aaa0b1
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
module KalturaBox module Entry module InstanceMethods def get client = KalturaBox::Client.update_session media = Kaltura::KalturaMediaService.new(client) media.get(self.entry_id) end def update_thumbnail(type=nil, value) self.add_thumbnail(self.entry_id, value, type) end def fetch_thumbnail kaltura_video = self.get unless kaltura_video.empty? self.thumbnail_url = kaltura_video.thumbnail_url self.save else false end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kaltura_box-0.0.3 | lib/kaltura_box/entry/instance_methods.rb |