Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (39 loc) · 1.02 KB

README.ja.md

File metadata and controls

46 lines (39 loc) · 1.02 KB

GMO

Gem Version Build Status

RubyからGMOペイメント(PGマルチペイメントサービス)のAPIを扱うためのGemです。

インストール方法

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

使い方

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)

その他、詳細な使い方はwikiで説明しています。

Contributors

Patches contributed by those people.