Skip to content

Commit

Permalink
Add basic instructions for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
begedin committed Jun 5, 2018
1 parent 5025f6c commit fac560a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ The actively developed line of releases is `2.x.x` and is contained within the `

- [1.x.x](https://hexdocs.pm/stripity_stripe/1.6.1/)

## Installation

Install the dependency:

```ex
{:stripity_stripe, "~> 2.0"}
```

Next, add to your applications:

_Not necessary if using elixir >= 1.4_

```ex
defp application do
[applications: [:stripity_stripe]]
end
```

# Documentation for 1.x.x

<details><summary>Click to expand</summary>
Expand All @@ -38,7 +56,7 @@ Works with API version 2015-10-16
Install the dependency:

```ex
{:stripity_stripe, "~> 1.6.1"}
{:stripity_stripe, "~> 1.6"}
```

Next, add to your applications:
Expand Down

0 comments on commit fac560a

Please sign in to comment.