Sha256: 1f489351c7197d2fc36c68aa42421d95b77c100982b7c3c2ffc4c8c75d70f2ae

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

module Intercept
  module Strategy
    class Replace
      attr_reader :replace_identities

      def initialize(replace_identities)
        @replace_identities = replace_identities
      end

      def process_identities(identities)
        if identities.blank?
          []
        else
          replace_identities
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
intercept-0.2.0 lib/intercept/strategy/replace.rb