Class: ObsDeploy::CLI::Commands::GetDiff
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- ObsDeploy::CLI::Commands::GetDiff
- Defined in:
- lib/obs_deploy/cli/commands/get_diff.rb
Instance Method Summary collapse
Instance Method Details
#call(url:, product:, project:, ignore_certificate:) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/obs_deploy/cli/commands/get_diff.rb', line 15 def call(url:, product:, project:, ignore_certificate:, **) if ignore_certificate OpenSSL::SSL.send(:remove_const, :VERIFY_PEER) OpenSSL::SSL.const_set(:VERIFY_PEER, OpenSSL::SSL::VERIFY_NONE) end puts "diff : #{ObsDeploy::CheckDiff.new(server: url, project: project, product: product).github_diff}" end |