Class: WowzaRest::Data::Application::TranscoderConfig
- Defined in:
- lib/wowza_rest/data/application.rb
Defined Under Namespace
Classes: Template
Instance Attribute Summary collapse
-
#templates ⇒ Object
readonly
Returns the value of attribute templates.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ TranscoderConfig
constructor
A new instance of TranscoderConfig.
Methods inherited from Base
#define_attribute_getter, #define_attribute_setter, #map_array_objects, #setup_attributes
Constructor Details
#initialize(attrs = {}) ⇒ TranscoderConfig
Returns a new instance of TranscoderConfig.
16 17 18 19 20 21 |
# File 'lib/wowza_rest/data/application.rb', line 16 def initialize(attrs = {}) @templates = map_array_objects( attrs.delete('templates')['templates'], Template ) super(attrs) end |
Instance Attribute Details
#templates ⇒ Object (readonly)
Returns the value of attribute templates.
15 16 17 |
# File 'lib/wowza_rest/data/application.rb', line 15 def templates @templates end |