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

Defined Under Namespace

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

Constant Summary collapse

VERSION =
"0.2.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



14
15
16
# File 'lib/bygpay.rb', line 14

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



21
22
23
# File 'lib/bygpay.rb', line 21

def self.reset
  @configuration = Configuration.new
end