Skip to content

Commit

Permalink
Tweak docs
Browse files Browse the repository at this point in the history
  • Loading branch information
derekkraan committed Jun 16, 2024
1 parent db97637 commit 7ba8e9f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/curl_req/plugin.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ defmodule CurlReq.Plugin do
@moduledoc """
A collection of steps, usable with Req.
Example:
## Examples
iex> Req.new(url: "https://catfact.ninja/fact")
...> |>CurlReq.Plugin.attach()
iex> Req.new(url: "https://catfact.ninja/fact")
...> |>CurlReq.Plugin.attach()
iex> Req.new(url: "https://catfact.ninja/fact")
...> |> CurlReq.Plugin.attach(log_level: :info, log_metadata: [ansi_color: :blue])
iex> Req.new(url: "https://catfact.ninja/fact")
...> |> CurlReq.Plugin.attach(log_level: :info, log_metadata: [ansi_color: :blue])
# Possible improvements
Expand Down

0 comments on commit 7ba8e9f

Please sign in to comment.