Class: Chronicle::Spotify::SavedTracksExtractor

Inherits:
SpotifyExtractor
  • Object
show all
Defined in:
lib/chronicle/spotify/liked_tracks_extractor.rb

Instance Method Summary collapse

Methods inherited from SpotifyExtractor

#prepare

Instance Method Details

#extractObject



11
12
13
14
15
# File 'lib/chronicle/spotify/liked_tracks_extractor.rb', line 11

def extract
  @proxy.saved_tracks(after: @config.since, limit: @config.limit) do |item|
    yield build_extraction(data: item, meta: { agent: @agent })
  end
end