Module: Payassist

Defined in:
lib/payassist.rb,
lib/payassist/bank.rb,
lib/payassist/client.rb,
lib/payassist/config.rb,
lib/payassist/errors.rb,
lib/payassist/balance.rb,
lib/payassist/version.rb,
lib/payassist/transfer.rb,
lib/payassist/transaction.rb,
lib/payassist/bill_payment.rb

Overview

Error handling for unsuccessful responses from the Payassist API

Defined Under Namespace

Classes: Balance, Bank, BillPayment, Client, Config, Error, Transaction, Transfer, ValidationError

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



15
16
17
# File 'lib/payassist.rb', line 15

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/payassist.rb', line 26

def self.configure
  yield(config)
end

.resetObject



22
23
24
# File 'lib/payassist.rb', line 22

def self.reset
  @config = Config.new
end