Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/rets/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class Client
# * :verify_mode [Integer, Optional] How to verify the SSL certificate when connecting through HTTPS, either OpenSSL::SSL::VERIFY_PEER or OpenSSL::SSL::VERIFY_NONE, defaults to OpenSSL::SSL::VERIFY_NONE
# * :ca_file [String, Optional] Path to the CA certification file in PEM format
# * :ca_path [String, Optional] Path to the directory containing CA certifications in PEM format
# * :ssl_version [String, Optional] SSL version used for HTTP Client
# * :ssl_cipher [String, Optional] Cipher used for TLS
#
# @raise [ArgumentError]
# @raise [RETS::APIError]
Expand Down
2 changes: 2 additions & 0 deletions lib/rets/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def request(args, &block)
http.verify_mode = @config[:http][:verify_mode] || OpenSSL::SSL::VERIFY_NONE
http.ca_file = @config[:http][:ca_file] if @config[:http][:ca_file]
http.ca_path = @config[:http][:ca_path] if @config[:http][:ca_path]
http.ssl_version = @config[:http][:ssl_version] if @config[:http][:ssl_version]
http.ssl_cipher = @config[:http][:ssl_cipher] if @config[:http][:ssl_cipher]
end

body_data = nil
Expand Down