aboutsummaryrefslogtreecommitdiffstats
path: root/fancy_bear/contextio/auth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'fancy_bear/contextio/auth.rb')
-rw-r--r--fancy_bear/contextio/auth.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/fancy_bear/contextio/auth.rb b/fancy_bear/contextio/auth.rb
index 174648a..1288b6d 100644
--- a/fancy_bear/contextio/auth.rb
+++ b/fancy_bear/contextio/auth.rb
@@ -3,11 +3,7 @@ require 'contextio'
module FancyBear
module ContextIO
- class Auth
- def initialize
- @contextio = ::ContextIO.new(API_KEY, API_SECRET)
- end
-
+ class Auth < Base
def connect(callback_url)
connection_token = @contextio.connect_tokens.create(callback_url)
connection_token.browser_redirect_url