Class: OmniAuth::Strategies::Tito

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth-tito.rb

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



27
28
29
# File 'lib/omniauth-tito.rb', line 27

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



23
24
25
# File 'lib/omniauth-tito.rb', line 23

def raw_info
  @raw_info ||= access_token.get('/me.json').parsed
end