Sha256: 526da1b8923ac98995db50229f9096e8119e72a779a3e613c80cf92063c0c6c1

Contents?: true

Size: 565 Bytes

Versions: 11

Compression:

Stored size: 565 Bytes

Contents

module Pact
  module Provider
    module Configuration
      class ServiceProviderConfig

        attr_accessor :application_version

        def initialize application_version, publish_verification_results, &app_block
          @application_version = application_version
          @publish_verification_results = publish_verification_results
          @app_block = app_block
        end

        def app
          @app_block.call
        end

        def publish_verification_results?
          @publish_verification_results
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pact-1.18.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.17.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.16.1 lib/pact/provider/configuration/service_provider_config.rb
pact-1.16.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.15.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.14.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.13.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.12.1 lib/pact/provider/configuration/service_provider_config.rb
pact-1.12.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.11.1 lib/pact/provider/configuration/service_provider_config.rb
pact-1.11.0 lib/pact/provider/configuration/service_provider_config.rb