Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Omise to Opn #38

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Hex.pm](https://img.shields.io/hexpm/v/omise.svg?style=flat-square)](https://hex.pm/packages/omise)
[![Coverage Status](https://coveralls.io/repos/github/omise/omise-elixir/badge.svg?branch=master)](https://coveralls.io/github/omise/omise-elixir?branch=master)

**Omise for Elixir**
**Opn Payments for Elixir**

## Installation

Expand All @@ -23,7 +23,7 @@

## Configuration

Set the following configuration variables in `config/config.exs` file:
Set the following configuration variables in `config/config.exs`:

```elixir
config :omise,
Expand All @@ -37,7 +37,7 @@ Or manually configure at runtime:
Omise.configure(public_key: "pkey_test_xxx", secret_key: "skey_test_xxx")
```

To configure the HTTP options, you could optionally add `:http_options` key to the omise configuration. For a full list of the available options, please check [HTTPoison documentation](https://github.com/edgurgel/httpoison).
To configure the HTTP options, you could optionally add the `:http_options` key to the Opn Payments configuration. For a full list of the available options, please check [HTTPoison documentation](https://github.com/edgurgel/httpoison).

```elixir
config :omise,
Expand All @@ -61,7 +61,7 @@ else
end
```

You can also set a per-request key and api version when making an API call:
You can also set a per-request key and API version when making an API call:

```elixir
Omise.Charge.list([], key: "skey_test_xxx", api_version: "2015-11-17")
Expand All @@ -82,4 +82,4 @@ Omise.Charge.create([

## Documentation

* http://hexdocs.pm/omise/
* [https://hexdocs.pm/omise/api-reference.html](https://hexdocs.pm/omise/api-reference.html)
Loading