class Zype::Manifests
This class does not support all, create, update or delete. To use this class, you must set Zype.configuration
.player_host. Read more at docs.zype.com/v1.0/reference#vod-manifests
@since 0.9.0
Public Instance Methods
find(id:)
click to toggle source
Returns contents of the manifest file.
@param id [String] the ID of the video @return [String] contents of the m3u8 manifest file
# File lib/zype/models/manifests.rb, line 18 def find(id:) client.execute(method: :get, path: "/manifest/#{id}.m3u8") end
Private Instance Methods
client_class()
click to toggle source
# File lib/zype/models/manifests.rb, line 28 def client_class Zype::PlayerClient end
path()
click to toggle source
# File lib/zype/models/manifests.rb, line 24 def path @path = 'manifest' end