Sha256: c13ee6d773c2b295bf61146d87520c76921794d73df4ecc2bd001b5a2bfd6281

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

module Chronicle
  module Spotify
    class SpotifyExtractor < Chronicle::ETL::Extractor
      setting :uid
      setting :access_token
      setting :refresh_token
      setting :client_id
      setting :client_secret

      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chronicle-spotify-0.2.0 lib/chronicle/spotify/spotify_extractor.rb