Skip to content

Commit

Permalink
Fixed SSL doc example.
Browse files Browse the repository at this point in the history
Key `pem_password` is missing.
  • Loading branch information
rjurado01 committed Mar 25, 2020
1 parent 77cf459 commit 2e45536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Client
base_uri "https://example.com"

def self.fetch
get("/resources", pem: (File.read("#{File.expand_path('.')}/path/to/certs/cert.pem"), "123456")
get("/resources", pem: File.read("#{File.expand_path('.')}/path/to/certs/cert.pem"), pem_password: "123456")
end
end
```
Expand Down

0 comments on commit 2e45536

Please sign in to comment.