Sha256: 9f46e470e75932f52a9a577b2f52ecd9ad84a05a135f5092ab8ebec9d2fc93bf

Contents?: true

Size: 275 Bytes

Versions: 5

Compression:

Stored size: 275 Bytes

Contents

require "pact_broker/events/subscriber"

module PactBroker
  module Api
    module Resources
      module EventMethods
        def subscribe(listener)
          PactBroker::Events.subscribe(listener) do
            yield
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pact_broker-2.112.0 lib/pact_broker/api/resources/event_methods.rb
pact_broker-2.111.0 lib/pact_broker/api/resources/event_methods.rb
pact_broker-2.109.1 lib/pact_broker/api/resources/event_methods.rb
pact_broker-2.109.0 lib/pact_broker/api/resources/event_methods.rb
pact_broker-2.108.0 lib/pact_broker/api/resources/event_methods.rb