aboutsummaryrefslogtreecommitdiffstats
path: root/fancy_bear/contextio/auth.rb
blob: 1288b6dc71f18ab26cc2089c518e5b372128e46e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'contextio'

module FancyBear
  module ContextIO
    
    class Auth < Base
      def connect(callback_url)
        connection_token = @contextio.connect_tokens.create(callback_url)
        connection_token.browser_redirect_url
      end
    end
    
  end
end