Sha256: 909117db56d4525dc0347e24fcabb2912ddbf046e3ab797cdc6b788444bdbf49
Contents?: true
Size: 1.08 KB
Versions: 6
Compression:
Stored size: 1.08 KB
Contents
=begin #Mux API #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. The version of the OpenAPI document: v1 Contact: devex@mux.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.1 =end require 'date' require 'time' module MuxRuby class BroadcastLayout GALLERY = "gallery".freeze ACTIVE_SPEAKER = "active-speaker".freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) constantValues = BroadcastLayout.constants.select { |c| BroadcastLayout::const_get(c) == value } raise "Invalid ENUM value #{value} for class #BroadcastLayout" if constantValues.empty? value end end end
Version data entries
6 entries across 6 versions & 1 rubygems