Class: SpotifyExporter::AuthWorkflow
- Inherits:
-
Object
- Object
- SpotifyExporter::AuthWorkflow
- Defined in:
- lib/spotifyexporter/auth.rb
Instance Method Summary collapse
-
#start ⇒ Object
Starts auth flow.
Instance Method Details
#start ⇒ Object
Starts auth flow
11 12 13 14 15 16 17 18 |
# File 'lib/spotifyexporter/auth.rb', line 11 def start auth = prompt_for_auth ConfigManager.instance.save_credentials( client_id: auth[:spotify_client_id], secret: auth[:spotify_client_secret] ) end |