Sha256: 35ef831496c7832df4b3d8cf4074e4c277680159fa128cf9e02f1cc933ed3bfe

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

module GoogleTranslateTts
  module Constanting
    BASE_URL = ENV.fetch("TTS_BASE_URL", "http://translate.google.com")
    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")

    TTS_TMP_DIR = ENV.fetch('TTS_TMP_DIR', File.expand_path('~/.tmp/tts_tmp', __FILE__))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google-translate-tts-0.1.0 lib/google_translate_tts/constanting.rb