Sha256: 86015c547dcb8a00c2f225fe72600dea4da00fe802be3f9783453fc7bddf7979
Contents?: true
Size: 587 Bytes
Versions: 52
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true require 'api_tools' module FIR module Http include ApiTools::DefaultRestModule alias old_default_options default_options def default_options @default_options = old_default_options.merge(timeout: 300) if ENV['FIR_TIMEOUT'] @default_options[:timeout] = ENV['FIR_TIMEOUT'].to_i end unless ENV['UPLOAD_VERIFY_SSL'] @default_options.merge!(other_base_execute_option: { verify_ssl: OpenSSL::SSL::VERIFY_NONE }) end end end end
Version data entries
52 entries across 52 versions & 3 rubygems