module GmoPayment

Constants

GLOSSARY
VERSION

Public Class Methods

reset!() click to toggle source

Reset {GmoPayment::Configure} variables.

# File lib/gmo_payment.rb, line 27
def reset!
   GmoPayment::Configure.reset!
end
setup(&block) click to toggle source

Setup {GmoPayment::Configure} variables. @example

GmoPayment.setup do |c|
  c.api_endpoint = 'example.com'
  c.proxy        = 'https://user:password@proxy.com:443/'
  c.verify_mode  = ::OpenSSL::SSL::VERIFY_PEER
  c.error_list   = 'path/to/file.yml'
  c.site_id      = 'GMO_SITE_ID'
  c.site_pass    = 'GMO_SITE_PASS'
  c.shop_id      = 'GMO_SHOP_ID'
  c.shop_pass    = 'GMO_SHOP_PASS'
end
# File lib/gmo_payment.rb, line 22
def setup(&block)
  GmoPayment::Configure.setup(&block)
end