Sha256: 97867d9ff6e59acca476794f5b8e7ba4e5882cf85d9b683b54836db6a58ca578
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module Chronicle module Spotify class SavedTracksExtractor < Chronicle::Spotify::SpotifyExtractor register_connector do |r| r.provider = 'spotify' r.description = 'liked tracks' r.identifier = 'liked-tracks' end def extract @proxy.saved_tracks(after: @config.since, limit: @config.limit) do |item| yield Chronicle::ETL::Extraction.new(data: item, meta: { actor: @actor }) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chronicle-spotify-0.1.0 | lib/chronicle/spotify/liked_tracks_extractor.rb |