Skip to content

nasrulgunawan/xendit-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xendit Ruby library

This is the Unofficial Ruby API client/library for Xendit API.

API Documentation

Please check Xendit API Reference.

Requirements

  • Ruby 2.5+

Installation

Using Gemfile

Install the gem and add to the application's Gemfile by executing:

bundle add xendit-client

Or add gem xendit-client to Gemfile

gem 'xendit-client'

Run this command in your terminal

bundle install

Usage

Get your API key from Xendit Dashboard.

Add your API key to the initializer.

require 'xendit'

Xendit.api_key = 'xnd_...'