Module: GMO

Defined in:
lib/gmo.rb,
lib/gmo/json.rb,
lib/gmo/const.rb,
lib/gmo/errors.rb,
lib/gmo/version.rb,
lib/gmo/shop_api.rb,
lib/gmo/site_api.rb,
lib/gmo/http_services.rb,
lib/gmo/shop_and_site_api.rb

Overview

A client for the GMO Payment API.

example gmo = GMO::Payment::SiteAPI.new(

site_id:     "foo",
site_pass:   "bar",
host:  "mul-pay.com"

) result = gmo.post_request(“EntryTran.idPass”, options)

Defined Under Namespace

Modules: Const, HTTPService, JSON, NetHTTPService, Payment Classes: GMOError, Response

Constant Summary collapse

VERSION =
"0.2.4"

Class Method Summary collapse

Class Method Details

.http_service=(service) ⇒ Object

Set up the http service GMO methods used to make requests



100
101
102
# File 'lib/gmo.rb', line 100

def self.http_service=(service)
  self.send :include, service
end