Skip to content

Instantly share code, notes, and snippets.

@bonjourmauko
Created June 22, 2012 19:37
Show Gist options
  • Select an option

  • Save bonjourmauko/2974663 to your computer and use it in GitHub Desktop.

Select an option

Save bonjourmauko/2974663 to your computer and use it in GitHub Desktop.

Revisions

  1. Mauko Quiroga created this gist Jun 22, 2012.
    12 changes: 12 additions & 0 deletions a.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # 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]