lib/bitmovin/encoding/manifests/video_adaptation_set.rb in bitmovin-ruby-0.5.0 vs lib/bitmovin/encoding/manifests/video_adaptation_set.rb in bitmovin-ruby-0.7.0
- old
+ new
@@ -1,10 +1,9 @@
module Bitmovin::Encoding::Manifests
class VideoAdaptationSet < Bitmovin::Resource
include Bitmovin::ChildCollection
def initialize(manifest_id, period_id, hash = {})
- path = File.join("/v1/encoding/manifests/dash/", manifest_id, "periods", period_id, "adaptationsets/video")
- self.class.init(path)
+ init_instance(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods", period_id, "adaptationsets/video"))
super(hash)
@manifest_id = manifest_id
@period_id = period_id
end