Top Level Namespace

Defined Under Namespace

Modules: Kernel, TwitterBackup Classes: File

Constant Summary collapse

CONFIG_DIR =
File.expand_path(File.join("~/", ".config", "twitter_backup"))
CONFIG_FILE =
File.join(CONFIG_DIR, "config.yml")
CONFIG_DEFAULTS =
{
  :credentials => {
    :consumer_key => "",
    :consumer_secret => "",
    :oauth_token => "",
    :oauth_token_secret => "",
    },
  :db => {
    :adapter => "sqlite3",
    :database => File.join(CONFIG_DIR, "tweets.sqlite3"),
    :pool => 5,
    :timeout => 5000
    },
  :backup_file => ""
}