Class: PactBroker::Client::Deployments::RecordUndeployment

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/pact_broker/client/deployments/record_undeployment.rb

Instance Method Summary collapse

Methods inherited from BaseCommand

call, #call

Methods included from 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) ⇒ RecordUndeployment

Returns a new instance of RecordUndeployment.



10
11
12
13
14
15
# File 'lib/pact_broker/client/deployments/record_undeployment.rb', line 10

def initialize(params, options, pact_broker_client_options)
  super
  @pacticipant_name = params.fetch(:pacticipant_name)
  @environment_name = params.fetch(:environment_name)
  @application_instance = params.fetch(:application_instance)
end