Created
March 25, 2012 18:02
-
-
Save jon-ruckwood/2198681 to your computer and use it in GitHub Desktop.
Example of loading properties using Typesafe's Config project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.typesafe.config.ConfigFactory | |
val conf = ConfigFactory.load() | |
val accessToken = conf.getString("accessToken") | |
val accessTokenSecret = conf.getString("accessTokenSecret") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment