Class: Typecast::Models::OutputStream
- Inherits:
-
Object
- Object
- Typecast::Models::OutputStream
- Defined in:
- lib/typecast/models.rb
Instance Attribute Summary collapse
-
#audio_format ⇒ Object
readonly
Returns the value of attribute audio_format.
-
#audio_pitch ⇒ Object
readonly
Returns the value of attribute audio_pitch.
-
#audio_tempo ⇒ Object
readonly
Returns the value of attribute audio_tempo.
Instance Method Summary collapse
-
#initialize(audio_pitch: nil, audio_tempo: nil, audio_format: nil) ⇒ OutputStream
constructor
A new instance of OutputStream.
- #to_h ⇒ Object
Constructor Details
#initialize(audio_pitch: nil, audio_tempo: nil, audio_format: nil) ⇒ OutputStream
Returns a new instance of OutputStream.
40 41 42 43 44 |
# File 'lib/typecast/models.rb', line 40 def initialize(audio_pitch: nil, audio_tempo: nil, audio_format: nil) @audio_pitch = audio_pitch @audio_tempo = audio_tempo @audio_format = audio_format end |
Instance Attribute Details
#audio_format ⇒ Object (readonly)
Returns the value of attribute audio_format.
38 39 40 |
# File 'lib/typecast/models.rb', line 38 def audio_format @audio_format end |
#audio_pitch ⇒ Object (readonly)
Returns the value of attribute audio_pitch.
38 39 40 |
# File 'lib/typecast/models.rb', line 38 def audio_pitch @audio_pitch end |
#audio_tempo ⇒ Object (readonly)
Returns the value of attribute audio_tempo.
38 39 40 |
# File 'lib/typecast/models.rb', line 38 def audio_tempo @audio_tempo end |