Class: OmniAuth::Strategies::Hootsuite

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/hootsuite.rb

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



35
36
37
# File 'lib/omniauth/strategies/hootsuite.rb', line 35

def callback_url
  options[:redirect_uri] || (full_host + script_name + callback_path)
end

#raw_infoObject



28
29
30
31
32
33
# File 'lib/omniauth/strategies/hootsuite.rb', line 28

def raw_info
  res = access_token.get('/v1/me')
  pp res
  pp res.parsed
  @raw_info ||= res.parsed
end