Class: Bitmovin::Encoding::Encodings::Muxings::Drms::TsMuxingAesEncryptionList

Inherits:
List
  • Object
show all
Defined in:
lib/bitmovin/encoding/encodings/muxings/drms/ts_muxing_aes_encryption_list.rb

Instance Attribute Summary collapse

Attributes inherited from List

#encoding_id

Instance Method Summary collapse

Methods inherited from List

#add, #find, init, #list

Methods included from Helpers

#camelize_hash, #hash_to_struct, result, #result, #underscore_hash

Constructor Details

#initialize(encoding_id, muxing_id, hash = {}) ⇒ TsMuxingAesEncryptionList

Returns a new instance of TsMuxingAesEncryptionList.



6
7
8
9
# File 'lib/bitmovin/encoding/encodings/muxings/drms/ts_muxing_aes_encryption_list.rb', line 6

def initialize(encoding_id, muxing_id, hash = {})
  @encoding_id = encoding_id
  @muxing_id = muxing_id
end

Instance Attribute Details

#muxing_idObject

Returns the value of attribute muxing_id.



5
6
7
# File 'lib/bitmovin/encoding/encodings/muxings/drms/ts_muxing_aes_encryption_list.rb', line 5

def muxing_id
  @muxing_id
end

Instance Method Details

#build(hash = {}) ⇒ Object



11
12
13
# File 'lib/bitmovin/encoding/encodings/muxings/drms/ts_muxing_aes_encryption_list.rb', line 11

def build(hash = {})
  self.class.klass.new(@encoding_id, @muxing_id, hash)
end