Module: Newebpay

Extended by:
Forwardable
Defined in:
lib/newebpay.rb,
lib/newebpay/cipher.rb,
lib/newebpay/config.rb,
lib/newebpay/version.rb

Overview

NewebPay

Since:

  • 0.1.0

Defined Under Namespace

Modules: Cipher Classes: Config, Error

Constant Summary collapse

VERSION =

Since:

  • 0.1.0

'0.2.0'

Class Method Summary collapse

Class Method Details

.use(config, &block) ⇒ Object

Use specify config

Parameters:

  • the (Newebpay::Config)

    config to switch

  • the (Proc)

    block to use temporary config

Since:

  • 0.2.0



28
29
30
# File 'lib/newebpay.rb', line 28

def use(config, &block)
  Config.switch(config, &block)
end