Sha256: 5a8f73585448bdea6cd70fa89138d823ae026a360efeca21429504c003793f45
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module GoogleTranslateTts module Constanting BASE_URL = ENV.fetch("TTS_BASE_URL", "http://translate.google.com") TTS_TMP_DIR = ENV.fetch("TTS_TMP_DIR", File.expand_path("~/.tmp/tts_tmp", __dir__)) REFERER = BASE_URL USER_AGENT = ENV .fetch( "TTS_UA", "Mozilla/5.0 (X11; CrOS x86_64 14767.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.9999.0 Safari/537.36" ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
google-translate-tts-0.2.0 | lib/google_translate_tts/constanting.rb |