module GMO
Ruby client library for the GMO
Payment
Platform.
begin
# do something...
rescue GMO::Payment::APIError
=> e
puts e.response_body # => ErrCode=hoge&ErrInfo=hoge puts e.error_info # {"ErrCode"=>"hoge", "ErrInfo"=>"hoge"}
end
A client for the GMO
Remittance API.
example gmo = GMO::Payment::RemittanceAPI.new
({
shop_id: "foo", shop_pass: "bar", host: "test-remittance.gmopg.jp", locale: "ja"
})
A client for the GMO
Payment
API.
example gmo = GMO::Payment::ShopAndSiteAPI.new
({
site_id: "foo", site_pass: "bar", shop_id: "baz", shop_pass: "bax", host: "p01.mul-pay.jp", locale: "ja"
})
}) result = gmo.post_request(“EntryTran.idPass”, options)
}) result = gmo.post_request(“EntryTran.idPass”, options)
Constants
- VERSION
Public Class Methods
http_service=(service)
click to toggle source
Set up the http service GMO
methods used to make requests
# File lib/gmo.rb 107 def self.http_service=(service) 108 self.send :include, service 109 end