Project

gmo

A long-lived project that still receives updates
Ruby client library for the GMO Payment Platform.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3
>= 0

Runtime

>= 0
>= 0
 Project Readme

GMO

Gem Version Ruby

GMO is a Ruby client library for the GMO Payment Platform, supporting the PG Multi Payment API, exec transactions, register users, and so on.

Installation

Install GMO as a gem:

gem install gmo

or add to your Gemfile:

# Gemfile
gem "gmo"

and run bundle install to install the dependency.

TODO

  • add supported APIs
  • improve docs

Usage

require 'gmo'
# setup
gmo = GMO::Payment::ShopAPI.new({:shop_id => "SHOP_ID", :shop_pass => "SHOP_PASS", :host => "foo.mul-pay.jp"})
#
option = {
  :order_id => 1,
  :job_cd   => "AUTH",
  :amount   => 100
}
result = gmo.entry_tran(option)

More documentation available on the wiki.

Contributors

Patches contributed by those people.