Class: Pactflow::Client::ProviderContracts::PublishTheOldWay
- Inherits:
-
PactBroker::Client::BaseCommand
- Object
- PactBroker::Client::BaseCommand
- Pactflow::Client::ProviderContracts::PublishTheOldWay
- Defined in:
- lib/pactflow/client/provider_contracts/publish_the_old_way.rb
Instance Attribute Summary collapse
-
#branch_name ⇒ Object
readonly
Returns the value of attribute branch_name.
-
#contract ⇒ Object
readonly
Returns the value of attribute contract.
-
#provider_name ⇒ Object
readonly
Returns the value of attribute provider_name.
-
#provider_version_number ⇒ Object
readonly
Returns the value of attribute provider_version_number.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#verification_results ⇒ Object
readonly
Returns the value of attribute verification_results.
Instance Method Summary collapse
-
#initialize(params, options, pact_broker_client_options) ⇒ PublishTheOldWay
constructor
A new instance of PublishTheOldWay.
Methods inherited from PactBroker::Client::BaseCommand
Methods included from PactBroker::Client::HalClientMethods
#create_entry_point, #create_http_client, #create_index_entry_point, #index_entry_point, #index_resource, #is_pactflow?, #pact_broker_name
Constructor Details
#initialize(params, options, pact_broker_client_options) ⇒ PublishTheOldWay
Returns a new instance of PublishTheOldWay.
13 14 15 16 17 18 19 20 21 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 13 def initialize(params, , ) super @provider_name = params[:provider_name] @provider_version_number = params[:provider_version_number] @branch_name = params[:branch_name] @tags = params[:tags] || [] @contract = params[:contract] @verification_results = params[:verification_results] end |
Instance Attribute Details
#branch_name ⇒ Object (readonly)
Returns the value of attribute branch_name.
11 12 13 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 11 def branch_name @branch_name end |
#contract ⇒ Object (readonly)
Returns the value of attribute contract.
11 12 13 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 11 def contract @contract end |
#provider_name ⇒ Object (readonly)
Returns the value of attribute provider_name.
11 12 13 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 11 def provider_name @provider_name end |
#provider_version_number ⇒ Object (readonly)
Returns the value of attribute provider_version_number.
11 12 13 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 11 def provider_version_number @provider_version_number end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
11 12 13 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 11 def @tags end |
#verification_results ⇒ Object (readonly)
Returns the value of attribute verification_results.
11 12 13 |
# File 'lib/pactflow/client/provider_contracts/publish_the_old_way.rb', line 11 def verification_results @verification_results end |