Skip to content

Instantly share code, notes, and snippets.

@bonjourmauko
Created June 22, 2012 19:37
Show Gist options
  • Save bonjourmauko/2974663 to your computer and use it in GitHub Desktop.
Save bonjourmauko/2974663 to your computer and use it in GitHub Desktop.
# config/jugdeme.yml
development:
url: "http://localhost:3001"
api_key: "sdfsafsafasfasdfsafdfds"
production:
url: "http://api.judgeme.com"
api_key: "sdfsafsafasfasdfsafdfds"
# config/initializers/judgeme.rb
JUDGEME = YAML::load(File.open("#{Rails.root}/config/judgeme.yml"))[Rails.env]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment