ChargebeeElixir
Elixir implementation of Chargebee API.
v0.1.1
This is a work in progress: right now, we only implement those methods:
- list
- retrieve
- create
on those resources:
- addon
- customer
-
hosted_page
- also checkout_new
- also checkout_existing
-
subscription
- also create_for_customer
- plan
- portal_session
- subscription
-
invoice
- also close
Installation
The package can be installed by adding chargebee_elixir to your list of dependencies in mix.exs:
def deps do
[
{:chargebee_elixir, "~> 0.1.3"}
]
endConfiguration
# config/dev.ex
config :chargebee_elixir,
namespace: "$your_namespace",
api_key: "$your_api_key"Usage
# e.g.
ChargebeeElixir.Plan.list()Run tests
mix testGenerate doc tests
sh generate_doc.sh