summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/evernote/user_store.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/evernote/user_store.rb b/lib/evernote/user_store.rb
index b8b6102..44574fc 100644
--- a/lib/evernote/user_store.rb
+++ b/lib/evernote/user_store.rb
@@ -5,8 +5,7 @@ module Evernote
class UserStore
AuthenticationFailure = Class.new(StandardError)
- def initialize(uri, auth_file, auth_env, thrift_client_options = {})
- credentials = YAML.load_file(auth_file)[auth_env.to_s]
+ def initialize(uri, credentials, thrift_client_options = {})
@consumer_key = credentials["consumer_key"]
@consumer_secret = credentials["consumer_secret"]