Class: PactBroker::Client::Deployments::RecordRelease
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- PactBroker::Client::Deployments::RecordRelease
- Defined in:
- lib/pact_broker/client/deployments/record_release.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(params, options, pact_broker_client_options) ⇒ RecordRelease
constructor
A new instance of RecordRelease.
Methods inherited from BaseCommand
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) ⇒ 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, , ) super @pacticipant_name = params.fetch(:pacticipant_name) @version_number = params.fetch(:version_number) @environment_name = params.fetch(:environment_name) end |