Class: PactBroker::Client::Deployments::RecordRelease

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

Direct Known Subclasses

RecordDeployment

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) ⇒ RecordRelease

Returns a new instance of RecordRelease.



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

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