Class: Chronicle::Spotify::SavedAlbumExtractor

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

Instance Method Summary collapse

Methods inherited from SpotifyExtractor

#prepare

Instance Method Details

#extractObject



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

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