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_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.



7
8
9
10
11
12
# File 'lib/pact_broker/client/deployments/record_undeployment.rb', line 7

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