Skip to content

Commit

Permalink
Updated heading fix (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusoftnet authored and begedin committed Oct 5, 2017
1 parent df7d407 commit f96671a
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions lib/stripe.ex
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
defmodule Stripe do
@moduledoc """
A HTTP client for Stripe.
This module contains the Application that you can use to perform
transactions on stripe API.
**Configuring**
By default the STRIPE_SECRET_KEY environment variable is used to find
your API key for Stripe. You can also manually set your API key by
configuring the :stripity_stripe application. You can see the default
configuration in the default_config/0 private function at the bottom of
this file. The value for platform client id is optional.
config :stripity_stripe, secret_key: YOUR_STRIPE_KEY
config :stripity_stripe, platform_client_id: STRIPE_PLATFORM_CLIENT_ID
A HTTP client for Stripe.
This module contains the Application that you can use to perform
transactions on stripe API.
## Configuring
By default the STRIPE_SECRET_KEY environment variable is used to find
your API key for Stripe. You can also manually set your API key by
configuring the :stripity_stripe application. You can see the default
configuration in the default_config/0 private function at the bottom of
this file. The value for platform client id is optional.
```
config :stripity_stripe, secret_key: YOUR_STRIPE_KEY
config :stripity_stripe, platform_client_id: STRIPE_PLATFORM_CLIENT_ID
```
"""

# Let's build on top of HTTPoison
Expand Down

0 comments on commit f96671a

Please sign in to comment.