Class: PactBroker::Client::CLI::Broker

Inherits:
CustomThor
  • Object
show all
Includes:
DeploymentCommands, EnvironmentCommands, MatrixCommands, PactCommands, PacticipantCommands, VersionCommands, WebhookCommands
Defined in:
lib/pact_broker/client/cli/broker.rb

Constant Summary

Constants included from PacticipantCommands

PacticipantCommands::PACTICIPANT_PARAM_NAMES

Constants included from DeploymentCommands

DeploymentCommands::RECORD_DEPLOYMENT_HELP_URL, DeploymentCommands::RECORD_RELEASE_HELP_URL, DeploymentCommands::RECORD_SUPPORT_ENDED_HELP_URL, DeploymentCommands::RECORD_UNDEPLOYMENT_HELP_URL

Constants included from EnvironmentCommands

EnvironmentCommands::ENVIRONMENT_PARAM_NAMES

Instance Method Summary collapse

Methods included from WebhookCommands

included

Methods included from VersionCommands

included

Methods included from PacticipantCommands

included

Methods included from MatrixCommands

included

Methods included from DeploymentCommands

included

Methods included from EnvironmentCommands

included

Methods included from PactCommands

included

Instance Method Details

#generate_uuidObject



26
27
28
29
# File 'lib/pact_broker/client/cli/broker.rb', line 26

def generate_uuid
  require "securerandom"
  puts SecureRandom.uuid
end

#versionObject



33
34
35
36
# File 'lib/pact_broker/client/cli/broker.rb', line 33

def version
  require "pact_broker/client/version"
  $stdout.puts PactBroker::Client::VERSION
end