Class: Mocodo::TextToSpeech::AiTalk::AiTalkBase

Inherits:
Base
  • Object
show all
Defined in:
lib/mocodo/text_to_speech.rb

Direct Known Subclasses

JeitaKana, Kana, Ssml

Constant Summary collapse

EndPoint =
"/aiTalk/v1/textToSpeech"

Constants inherited from Base

Base::BaseURL

Instance Attribute Summary

Attributes inherited from Base

#api_key, #response

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Mocodo::Base

Instance Method Details

#header(content) ⇒ Object



6
7
8
# File 'lib/mocodo/text_to_speech.rb', line 6

def header(content)
  {'Content-Type'=>content, 'Accept'=>'audio/L16'}
end