lib/pact/provider/configuration/service_provider_config.rb in pact-1.18.0 vs lib/pact/provider/configuration/service_provider_config.rb in pact-1.19.0
- old
+ new
@@ -3,21 +3,26 @@
module Configuration
class ServiceProviderConfig
attr_accessor :application_version
- def initialize application_version, publish_verification_results, &app_block
+ 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
\ No newline at end of file