Sha256: 6b8b1ee660e41deea4a81355026e47eb06ec2c2d3afd0630be522c1ac19fef5f

Contents?: true

Size: 400 Bytes

Versions: 10

Compression:

Stored size: 400 Bytes

Contents

require 'pact/provider/state/provider_state_proxy'

module Pact

  def self.provider_world
    @world ||= Pact::Provider::World.new
  end

  # internal api, for testing only
  def self.clear_provider_world
    @world = nil
  end

  module Provider
    class World

      def provider_states
        @provider_states_proxy ||= Pact::Provider::State::ProviderStateProxy.new
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pact-1.4.0 lib/pact/provider/world.rb
pact-1.4.0.rc4 lib/pact/provider/world.rb
pact-1.4.0.rc3 lib/pact/provider/world.rb
pact-1.4.0.rc2 lib/pact/provider/world.rb
pact-1.3.3 lib/pact/provider/world.rb
pact-1.3.2 lib/pact/provider/world.rb
pact-1.3.1 lib/pact/provider/world.rb
pact-1.3.0 lib/pact/provider/world.rb
pact-1.2.1.rc2 lib/pact/provider/world.rb
pact-1.2.1.rc1 lib/pact/provider/world.rb