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

- old
+ new

@@ -1,10 +1,9 @@ module Bitmovin::Encoding::Manifests class AudioAdaptationSet < 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/audio") - self.class.init(path) + init_instance(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods", period_id, "adaptationsets/audio")) @manifest_id = manifest_id @period_id = period_id end child_collection(:fmp4_representations, "/v1/encoding/manifests/dash/%s/periods/%s/adaptationsets/%s/representations/fmp4", [:manifest_id, :period_id, :id], Fmp4Representation)