Skip to content

Commit

Permalink
Merge pull request #9 from ninoseki/update-docs
Browse files Browse the repository at this point in the history
fix: fix wrong descs
  • Loading branch information
ninoseki committed Jan 21, 2019
2 parents 1780a56 + 5bb411e commit 94904b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ Or install it yourself as:
```rb
require 'doh_client'

DoHClient::Google.resolve("example.com", { type: "A" })
DoHClient::Google.resolve("example.com", { type: "A", edns_client_subnet: "0.0.0.0/0", random_padding: "XmkMw~o_mgP2pf.gpw-Oi5dK" })
DoHClient::Client::Google.resolve("example.com", { type: "A" })
DoHClient::Client::Google.resolve("example.com", { type: "A", edns_client_subnet: "0.0.0.0/0", random_padding: "XmkMw~o_mgP2pf.gpw-Oi5dK" })

DoHClient::Cloudflare.resolve("example.com", { type: "A" })
DoHClient::Cloudflare.resolve("example.com", { type: "A", do: true, cd: false })
DoHClient::Client::Cloudflare.resolve("example.com", { type: "A" })
DoHClient::Client::Cloudflare.resolve("example.com", { type: "A", do: true, cd: false })
```

### As a CLI
Expand Down

0 comments on commit 94904b9

Please sign in to comment.