lib/bitmovin/encoding/inputs.rb in bitmovin-ruby-0.3.0 vs lib/bitmovin/encoding/inputs.rb in bitmovin-ruby-0.4.0
- old
+ new
@@ -5,9 +5,27 @@
result = (JSON.parse(response.body))['data']['result']
list = result['items'].map do |item|
case item['type'].downcase
when "s3"
S3Input.new(item)
+ when "gcs"
+ GcsInput.new(item)
+ when "http"
+ HttpInput.new(item)
+ when "https"
+ HttpsInput.new(item)
+ when "aspera"
+ AsperaInput.new(item)
+ when "rtmp"
+ RtmpInput.new(item)
+ when "generic-s3"
+ GenericS3Input.new(item)
+ when "azure"
+ AzureInput.new(item)
+ when "ftp"
+ FtpInput.new(item)
+ when "sftp"
+ SftpInput.new(item)
end
end
list
end
end