Sha256: b6f36a64fcfe33539b5a9bcb0e167fe9b0b9d6d26162e8b9324f6e00e1a78598

Contents?: true

Size: 319 Bytes

Versions: 37

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module Datadog
  module AppSec
    module Reactive
      # Reactive Engine subscriber
      class Subscriber
        def initialize(&block)
          @block = block
          freeze
        end

        def call(*args)
          @block.call(*args)
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
datadog-2.9.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.8.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.7.1 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.7.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.6.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.5.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.4.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.3.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.2.0 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.23.3 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.23.2 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.1.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.0.0 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.23.1 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.0.0.beta2 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.22.0 lib/datadog/appsec/reactive/subscriber.rb
datadog-2.0.0.beta1 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.21.1 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.21.0 lib/datadog/appsec/reactive/subscriber.rb
ddtrace-1.20.0 lib/datadog/appsec/reactive/subscriber.rb