mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
commit
43c69bceff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue