Class: Chronicle::Spotify::ListenedExtractor
- Inherits:
-
SpotifyExtractor
- Object
- ETL::Extractor
- SpotifyExtractor
- Chronicle::Spotify::ListenedExtractor
- Defined in:
- lib/chronicle/spotify/listens_extractor.rb
Instance Method Summary collapse
Methods inherited from SpotifyExtractor
Instance Method Details
#extract ⇒ Object
11 12 13 14 15 |
# File 'lib/chronicle/spotify/listens_extractor.rb', line 11 def extract @proxy.recently_played(after: @config.since, limit: @config.limit, before: @config.until) do |item| yield build_extraction(data: item, meta: { agent: @agent }) end end |