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