Class: Typecast::Models::TTSResponse
- Inherits:
-
Object
- Object
- Typecast::Models::TTSResponse
- Defined in:
- lib/typecast/models.rb
Instance Attribute Summary collapse
-
#audio_data ⇒ Object
readonly
Returns the value of attribute audio_data.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
Instance Method Summary collapse
-
#initialize(audio_data:, duration:, format:) ⇒ TTSResponse
constructor
A new instance of TTSResponse.
Constructor Details
#initialize(audio_data:, duration:, format:) ⇒ TTSResponse
Returns a new instance of TTSResponse.
122 123 124 125 126 |
# File 'lib/typecast/models.rb', line 122 def initialize(audio_data:, duration:, format:) @audio_data = audio_data @duration = duration @format = format end |
Instance Attribute Details
#audio_data ⇒ Object (readonly)
Returns the value of attribute audio_data.
120 121 122 |
# File 'lib/typecast/models.rb', line 120 def audio_data @audio_data end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
120 121 122 |
# File 'lib/typecast/models.rb', line 120 def duration @duration end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
120 121 122 |
# File 'lib/typecast/models.rb', line 120 def format @format end |