Sha256: 68c778f4d85e99f910ee1965956d6846e52f1436a858d78e8e751d659ffd6744
Contents?: true
Size: 462 Bytes
Versions: 11
Compression:
Stored size: 462 Bytes
Contents
module Bitmovin class InputResource < Resource def analyze!(options) path = File.join("/v1/encoding/inputs/", @id, "analysis") response = Bitmovin.client.post(path) do |req| req.body = camelize_hash(options) end result = (JSON.parse(response.body))['data']['result'] Bitmovin::Encoding::Inputs::AnalysisTask.new(self, result['id']) end def analyses Encoding::Inputs::Analysis.new(@id) end end end
Version data entries
11 entries across 11 versions & 1 rubygems