Sha256: 9dae4b4cab92d51a1be4e208bccc241be7ad4159646b7718ee2aaae5f98d6896

Contents?: true

Size: 616 Bytes

Versions: 7

Compression:

Stored size: 616 Bytes

Contents

require 'dotenv'
require 'rest_client'
require 'ahub/modules/api_resource'
require 'ahub/modules/deletable'
require 'ahub/version'
require 'ahub/action'
require 'ahub/user'
require 'ahub/question'
require 'ahub/answer'
require 'ahub/topic'
require 'ahub/space'
require 'ahub/group'

module Ahub
  #Load the .env file from the default location...
  Dotenv.load

  #or a location passed in.
  Dotenv.load ENV['AHUB_ENV_FILE'] if ENV['AHUB_ENV_FILE']

  DOMAIN = ENV['AHUB_DOMIAN'] || 'http://localhost:8888'
  ADMIN_USER = ENV['AHUB_ADMIN_USER'] || 'answerhub'
  ADMIN_PASS = ENV['AHUB_ADMIN_PASS'] || 'answerhub'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ahub-0.12.0 lib/ahub.rb
ahub-0.11.5 lib/ahub.rb
ahub-0.11.4 lib/ahub.rb
ahub-0.11.3 lib/ahub.rb
ahub-0.11.2 lib/ahub.rb
ahub-0.11.1 lib/ahub.rb
ahub-0.11.0 lib/ahub.rb