Sha256: 159e4973c204d1f1136a3cb041b578eb6992cf5b67b79b53bdd6db41d3fbaa8f

Contents?: true

Size: 643 Bytes

Versions: 66

Compression:

Stored size: 643 Bytes

Contents

module Pact
  module Provider
    module Configuration
      class ServiceProviderConfig

        attr_accessor :application_version

        def initialize application_version, tags, publish_verification_results, &app_block
          @application_version = application_version
          @tags = [*tags]
          @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

        def tags
          @tags
        end
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
pact-1.57.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.56.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.7 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.6 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.5 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.4 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.3 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.2 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.1 lib/pact/provider/configuration/service_provider_config.rb
pact-1.55.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.54.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.53.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.52.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.51.1 lib/pact/provider/configuration/service_provider_config.rb
pact-1.51.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.50.1 lib/pact/provider/configuration/service_provider_config.rb
pact-1.50.0 lib/pact/provider/configuration/service_provider_config.rb
pact-1.49.3 lib/pact/provider/configuration/service_provider_config.rb
pact-1.49.2 lib/pact/provider/configuration/service_provider_config.rb
pact-1.49.1 lib/pact/provider/configuration/service_provider_config.rb