Module: Bygpay

Defined in:
lib/bygpay.rb,
lib/bygpay/utils.rb,
lib/bygpay/version.rb,
lib/bygpay/deposits.rb,
lib/bygpay/withdrawals.rb,
lib/bygpay/byg_response.rb,
lib/bygpay/deposit/card.rb,
lib/bygpay/deposit/rave.rb,
lib/bygpay/configuration.rb,
lib/bygpay/deposit/hubtel.rb,
lib/bygpay/deposit/mobile.rb,
lib/bygpay/withdraw/mobile.rb,
lib/bygpay/deposit/paystack.rb,
lib/bygpay/deposit/express_pay.rb

Defined Under Namespace

Modules: Deposit, Utils, Withdraw Classes: BygResponse, Configuration, Deposits, Withdrawals

Constant Summary collapse

VERSION =
"0.3.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



18
19
20
# File 'lib/bygpay.rb', line 18

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



29
30
31
# File 'lib/bygpay.rb', line 29

def self.configure
  yield(configuration)
end

.resetObject



25
26
27
# File 'lib/bygpay.rb', line 25

def self.reset
  @configuration = Configuration.new
end