Class: OmniAuth::Strategies::Spotify

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/rspotify/oauth.rb

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



23
24
25
# File 'lib/rspotify/oauth.rb', line 23

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



18
19
20
# File 'lib/rspotify/oauth.rb', line 18

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