Skip to content

Commit

Permalink
a couple minor documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benwilson512 committed Jul 11, 2015
1 parent 81dd679 commit 6549c9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/ex_aws/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ defmodule ExAws.Client do
end

def create_config_boilerplate(client, opts) do
<< "Elixir.", client_name::binary>> = client |> Atom.to_string
quote do
@moduledoc false
@moduledoc """
Consult the documentation in #{unquote(client_name)}
"""
@otp_app Keyword.get(unquote(opts), :otp_app)
@behaviour unquote(client)

Expand Down
2 changes: 1 addition & 1 deletion lib/ex_aws/lambda/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule ExAws.Lambda.Client do
In your config
```
config :my_otp_app, ExAws,
config :my_otp_app, :ex_aws,
lambda: [], # lambda config goes here
```
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_aws/s3/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule ExAws.S3.Client do
In your config
```
config :my_otp_app, ExAws,
config :my_otp_app, :ex_aws,
s3: [], # S3 config goes here
```
Expand Down

0 comments on commit 6549c9b

Please sign in to comment.