219
220
221
222
223
224
225
226
227
228
229
230
231
|
# File 'lib/fastlane/plugin/jira_issues_release_notes/helper/jira_issues_release_notes_helper.rb', line 219
def self.client(host:, api_version:, username:, password:, context_path:, disable_ssl_verification:)
options = {
site: host,
context_path: context_path,
auth_type: :basic,
username: username,
password: password,
rest_base_path: "/rest/api/#{api_version}",
ssl_verify_mode: disable_ssl_verification ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER
}
JIRA::Client.new(options)
end
|