Sha256: f7b9602c17e4510079744d9d2d7f18b27cc9d860179f8567c36ffeb840492a01
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
if !ENV['RACK_ENV'] or ENV['RACK_ENV'] == 'development' top_level_domain = ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg' $BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.' + top_level_domain $SMARTURL_DOMAIN = 'fanforc.gg' $FF_APP_DOMAIN = 'ffapp.gg' $FF_PLUGIN_DOMAIN = 'ffplugin.gg' $FF_WIDGET_DOMAIN = 'ffwidget.gg' elsif ENV['RACK_ENV'] == 'test' $BASE_DOMAIN = 'fanforce.gg' $SMARTURL_DOMAIN = 'fanforc.gg' $FF_APP_DOMAIN = 'ffapp.gg' $FF_PLUGIN_DOMAIN = 'ffplugin.gg' $FF_WIDGET_DOMAIN = 'ffwidget.gg' elsif ENV['RACK_ENV'] == 'qa' $BASE_DOMAIN = 'fanforce-qa.com' $SMARTURL_DOMAIN = 'fanforc.us' $FF_APP_DOMAIN = 'ffapp.us' $FF_PLUGIN_DOMAIN = 'ffplugin.us' $FF_WIDGET_DOMAIN = 'ffwidget.us' elsif ENV['RACK_ENV'] == 'production' $BASE_DOMAIN = 'fanforce.com' $SMARTURL_DOMAIN = 'fanforce.io' $FF_APP_DOMAIN = 'ffapp.io' $FF_PLUGIN_DOMAIN = 'ffplugin.io' $FF_WIDGET_DOMAIN = 'ffwidget.io' end $API_DOMAIN = 'api.' + $BASE_DOMAIN $I_DOMAIN = 'i.' + $BASE_DOMAIN
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fanforce-api-0.10.0 | lib/fanforce/api/ff_globals.rb |