class Fastlane::Helper::CerberusHelper::JiraClientHelper
Public Class Methods
client(host:, username:, password:, context_path:, disable_ssl_verification:)
click to toggle source
# File lib/fastlane/plugin/cerberus/helper/cerberus_helper.rb, line 10 def self.client(host:, username:, password:, context_path:, disable_ssl_verification:) options = { site: host, context_path: context_path, auth_type: :basic, username: username, password: password, ssl_verify_mode: disable_ssl_verification ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER } JIRA::Client.new(options) end