Class: Pageflow::ZencoderAudioOutputDefinition
- Inherits:
-
ZencoderOutputDefinition
- Object
- ZencoderOutputDefinition
- Pageflow::ZencoderAudioOutputDefinition
- Defined in:
- lib/pageflow/zencoder_audio_output_definition.rb
Instance Attribute Summary collapse
-
#audio_file ⇒ Object
readonly
Returns the value of attribute audio_file.
Attributes inherited from ZencoderOutputDefinition
Instance Method Summary collapse
-
#initialize(audio_file, options = {}) ⇒ ZencoderAudioOutputDefinition
constructor
A new instance of ZencoderAudioOutputDefinition.
- #input_s3_url ⇒ Object
- #outputs ⇒ Object
Methods inherited from ZencoderOutputDefinition
Constructor Details
#initialize(audio_file, options = {}) ⇒ ZencoderAudioOutputDefinition
Returns a new instance of ZencoderAudioOutputDefinition.
5 6 7 8 |
# File 'lib/pageflow/zencoder_audio_output_definition.rb', line 5 def initialize(audio_file, = {}) super() @audio_file = audio_file end |
Instance Attribute Details
#audio_file ⇒ Object (readonly)
Returns the value of attribute audio_file.
3 4 5 |
# File 'lib/pageflow/zencoder_audio_output_definition.rb', line 3 def audio_file @audio_file end |
Instance Method Details
#input_s3_url ⇒ Object
10 11 12 |
# File 'lib/pageflow/zencoder_audio_output_definition.rb', line 10 def input_s3_url @audio_file. end |
#outputs ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/pageflow/zencoder_audio_output_definition.rb', line 14 def outputs [ transferable(m4a_definition), transferable(mp3_definition), transferable(ogg_definition) ].flatten end |