Module: Firekassa

Defined in:
lib/firekassa.rb,
lib/firekassa/client.rb,
lib/firekassa/config.rb,
lib/firekassa/errors.rb,
lib/firekassa/account.rb,
lib/firekassa/balance.rb,
lib/firekassa/deposit.rb,
lib/firekassa/version.rb,
lib/firekassa/withdraw.rb,
lib/firekassa/transaction.rb

Overview

Error handling for unsuccessful responses from the Firekassa API

Defined Under Namespace

Classes: Account, Balance, Client, Config, Deposit, Error, Transaction, ValidationError, Withdraw

Constant Summary collapse

VERSION =
"0.1.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



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

def config
  @config
end

Class Method Details

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

Yields:



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

def self.configure
  yield(config)
end

.resetObject



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

def self.reset
  @config = Config.new
end