Class: Pact::Provider::Configuration::PactVerificationFromBroker
- Inherits:
-
Object
- Object
- Pact::Provider::Configuration::PactVerificationFromBroker
- Extended by:
- DSL
- Defined in:
- lib/pact/provider/configuration/pact_verification_from_broker.rb
Instance Attribute Summary collapse
-
#_basic_auth_options ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_consumer_version_selectors ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_consumer_version_tags ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_enable_pending ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_fail_if_no_pacts_found ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_include_wip_pacts_since ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_pact_broker_base_url ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_provider_name ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_provider_version_branch ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_provider_version_tags ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
-
#_verbose ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
Instance Method Summary collapse
- #finalize ⇒ Object
-
#initialize(provider_name, provider_version_branch, provider_version_tags) ⇒ PactVerificationFromBroker
constructor
A new instance of PactVerificationFromBroker.
Constructor Details
#initialize(provider_name, provider_version_branch, provider_version_tags) ⇒ PactVerificationFromBroker
Returns a new instance of PactVerificationFromBroker.
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 20 def initialize(provider_name, provider_version_branch, ) @_provider_name = provider_name @_provider_version_branch = provider_version_branch = = [] @_consumer_version_selectors = [] @_enable_pending = false @_include_wip_pacts_since = nil @_verbose = false @_fail_if_no_pacts_found = true # CLI defaults to false, unfortunately for consistency end |
Instance Attribute Details
#_basic_auth_options ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def end |
#_consumer_version_selectors ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _consumer_version_selectors @_consumer_version_selectors end |
#_consumer_version_tags ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def end |
#_enable_pending ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _enable_pending @_enable_pending end |
#_fail_if_no_pacts_found ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _fail_if_no_pacts_found @_fail_if_no_pacts_found end |
#_include_wip_pacts_since ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _include_wip_pacts_since @_include_wip_pacts_since end |
#_pact_broker_base_url ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _pact_broker_base_url @_pact_broker_base_url end |
#_provider_name ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _provider_name @_provider_name end |
#_provider_version_branch ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _provider_version_branch @_provider_version_branch end |
#_provider_version_tags ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def end |
#_verbose ⇒ Object
If user declares a variable with the same name as one of these attributes in parent scope, it will clash with these ones, so put an underscore in front of the name to be safer.
18 19 20 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 18 def _verbose @_verbose end |
Instance Method Details
#finalize ⇒ Object
68 69 70 71 |
# File 'lib/pact/provider/configuration/pact_verification_from_broker.rb', line 68 def finalize validate create_pact_verification end |