Method: Wework::Request#initialize
- Defined in:
- lib/wework/request.rb
#initialize(base, skip_verify_ssl) ⇒ Request
8 9 10 11 12 13 14 |
# File 'lib/wework/request.rb', line 8 def initialize(base, skip_verify_ssl) @base = base @httprb = HTTP.timeout(:global, **Wework.) @ssl_context = OpenSSL::SSL::SSLContext.new @ssl_context.ssl_version = :TLSv1_client @ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE if skip_verify_ssl end |