lib/bitmovin/encoding/manifests/period.rb in bitmovin-ruby-0.5.0 vs lib/bitmovin/encoding/manifests/period.rb in bitmovin-ruby-0.7.0

- old
+ new

@@ -1,10 +1,10 @@ module Bitmovin::Encoding::Manifests class Period < Bitmovin::Resource include Bitmovin::ChildCollection def initialize(manifest_id, hash = {}) - self.class.init(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods")) + init_instance(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods")) @manifest_id = manifest_id super(hash) @video_adaptationsets = nil @audio_adaptationsets = nil end