Class: Chronicle::Spotify::SpotifyExtractor
- Inherits:
-
ETL::Extractor
- Object
- ETL::Extractor
- Chronicle::Spotify::SpotifyExtractor
- Defined in:
- lib/chronicle/spotify/spotify_extractor.rb
Direct Known Subclasses
ListenedExtractor, SavedAlbumExtractor, SavedTracksExtractor
Instance Method Summary collapse
Instance Method Details
#prepare ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/chronicle/spotify/spotify_extractor.rb', line 10 def prepare @proxy = Proxy.new( uid: @config.uid, access_token: @config.access_token, refresh_token: @config.refresh_token, client_id: @config.client_id, client_secret: @config.client_secret ) @agent = @proxy.user end |