summaryrefslogtreecommitdiffstats
path: root/README.mkd
diff options
context:
space:
mode:
authorPeter Mangiafico2011-04-13 13:03:22 -0700
committerChris Sepic2011-06-28 17:24:00 -0500
commite93a209bee4419f0d3e8261cd7026774a31db3e4 (patch)
treec1a9143da6c9f1b5b93a769eece1e5ec51904f9e /README.mkd
parent9e97c290509c1681fbaa9a103332370e331ad9c3 (diff)
downloadevernote-e93a209bee4419f0d3e8261cd7026774a31db3e4.tar.bz2
fixed spec tests; updated readme; allow for users to pass in keys in hash
Diffstat (limited to 'README.mkd')
-rw-r--r--README.mkd8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.mkd b/README.mkd
index 8e6d79d..6a28037 100644
--- a/README.mkd
+++ b/README.mkd
@@ -9,7 +9,13 @@ Get yourself a "Client application" API key from Evernote (http://www.evernote.c
require 'evernote'
user_store_url = "https://sandbox.evernote.com/edam/user"
- config={'username'=>'YOUR_USERNAME','password'=>'YOUR_PASSWORD','consumer_key'=>'YOUR_CONSUMER_KEY_FROM_EVERNOTE','consumer_secret'=>'YOUR_CONSUMER_SECRECT_FROM_EVERNOTE'}
+
+ config = {
+ :username => 'YOUR_USERNAME',
+ :password => 'YOUR_PASSWORD',
+ :consumer_key => 'YOUR_CONSUMER_KEY_FROM_EVERNOTE',
+ :consumer_secret => 'YOUR_CONSUMER_SECRECT_FROM_EVERNOTE'
+ }
# note, you could also read in your consumer key information from a YML file