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

Inherits:
CustomThor show all
Includes:
BranchCommands, 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

Constants inherited from CustomThor

CustomThor::EM_DASH

Instance Method Summary collapse

Methods included from WebhookCommands

included

Methods included from BranchCommands

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



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

def generate_uuid
  require "securerandom"
  puts SecureRandom.uuid
end

#versionObject



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

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