aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fancy_bear/contextio/auth.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/fancy_bear/contextio/auth.rb b/fancy_bear/contextio/auth.rb
index b3382b5..174648a 100644
--- a/fancy_bear/contextio/auth.rb
+++ b/fancy_bear/contextio/auth.rb
@@ -8,9 +8,9 @@ module FancyBear
@contextio = ::ContextIO.new(API_KEY, API_SECRET)
end
- def authenticate(email)
- connection_token = @contextio.connect_tokens.create('http://google.com')
- connect_tokens.browser_redirect_url
+ def connect(callback_url)
+ connection_token = @contextio.connect_tokens.create(callback_url)
+ connection_token.browser_redirect_url
end
end