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/configuration.rb,
lib/bygpay/deposit/mobile.rb,
lib/bygpay/withdraw/mobile.rb

Defined Under Namespace

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

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



12
13
14
# File 'lib/bygpay.rb', line 12

def configuration
  @configuration
end

Class Method Details

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

Yields:



23
24
25
# File 'lib/bygpay.rb', line 23

def self.configure
  yield(configuration)
end

.resetObject



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

def self.reset
  @configuration = Configuration.new
end