1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Prettify indentation of code snippet examples in docs/README

This commit is contained in:
Robbie Marcelo 2017-06-20 16:25:22 +08:00
parent 2c621d2114
commit 5d6eee60d4

View file

@ -28,7 +28,6 @@ class Client
base_uri "https://example.com"
pem File.read("#{File.expand_path('.')}/path/to/certs/cert.pem"), "123456"
end
```
@ -42,7 +41,6 @@ class Client
base_uri "https://example.com"
pkcs12 File.read("#{File.expand_path('.')}/path/to/certs/cert.p12"), "123456"
end
```
@ -56,7 +54,6 @@ class Client
base_uri "https://example.com"
ssl_ca_file "#{File.expand_path('.')}/path/to/certs/cert.pem"
end
```
@ -92,7 +89,7 @@ end
In some cases you may want to skip SSL verification, because the entity that issue the certificate is not a valid one, but you still want to work with it. You can achieve this through:
```ruby
#Skips SSL certificate verification
# Skips SSL certificate verification
class Client
include HTTParty