Skip to content
Hugo Bailey edited this page Sep 15, 2017 · 9 revisions

MANGOPAY Ruby Gem SDK

Install

Rails

Add gem 'mangopay', '~> 3.0.0' to your Gemfile
Run bundle install

Non Rails

Install the gem by either running gem install mangopay or by adding it to your Gemfile gem 'mangopay' then bundle install

Account creation

Head over to https://www.mangopay.com/signup/sandbox/ to create a sandbox account and get started!

Authentication

Rails

If you ran the rails generator you're pretty much set up. The gem will use oauth be default.

Non Rails

Run mangopay in your shell to get a standard rib console with the mangopay gem loaded.

    1. Navigation
How to use the Gem? Available Operations
  - [Creating](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/BankAccounts#creating-a-new-BankAccount)
  - [Retrieving](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/BankAccounts#retrieving-a-BankAccount)
  • [Client](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Client)
  • [LegalUser](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/LegalUser)
  • [NaturalUser](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/NaturalUser)
  • [PayIn](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/PayIn)
  • [PayOut](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/PayOut)
  • [Transaction](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Transaction)
  • [Transfer](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Transfer)
  • [User](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/User)
  • [Wallet](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Wallet)
Clone this wiki locally