lib/bitmovin/encoding/manifests/hls_audio_media.rb in bitmovin-ruby-0.5.0 vs lib/bitmovin/encoding/manifests/hls_audio_media.rb in bitmovin-ruby-0.7.0
- old
+ new
@@ -18,10 +18,10 @@
attr_accessor :uri
def initialize(manifest_id, hash = {})
hsh = ActiveSupport::HashWithIndifferentAccess.new(underscore_hash(hash))
@manifest_id = manifest_id
- self.class.init(File.join("/v1/encoding/manifests/hls/", manifest_id, "media/audio"))
+ init_instance(File.join("/v1/encoding/manifests/hls/", manifest_id, "media/audio"))
super(hsh)
end
def ignore_fields
return [:@manifest_id, :@id]