Sha256: 3fa3679e314794e946c92988f9fcc31bfe5dd499eea8723bd027f912e661de71
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true module Importeur module DataSources class Appnexus def initialize(appnexus_service) @appnexus_service = appnexus_service end def dataset_unique_id md5 = Digest::MD5.new items.each { |item| md5.update(item.to_s) } md5.hexdigest end def items @items ||= appnexus_service.get_all end private attr_reader :appnexus_service end end end
Version data entries
5 entries across 5 versions & 1 rubygems