endpoint = 'https://example.com/api_endpoint'
rest_client = RestClient::Resource.new(endpoint, verify_ssl: OpenSSL::SSL::VERIFY_NONE)
response = rest_client.get()
refering to:
- https://github.com/rest-client/rest-client#ssl-client-certificates
- https://qiita.com/kanekoa/items/307693abc7631985bc50