Module: Bibox

Defined in:
lib/bibox.rb,
lib/bibox/errors.rb,
lib/bibox/version.rb,
lib/bibox/constants.rb,
lib/bibox/utilities.rb,
lib/bibox/models/base.rb,
lib/bibox/models/bill.rb,
lib/bibox/models/pair.rb,
lib/bibox/rest/client.rb,
lib/bibox/rest/errors.rb,
lib/bibox/models/asset.rb,
lib/bibox/models/ohlcv.rb,
lib/bibox/models/order.rb,
lib/bibox/models/trade.rb,
lib/bibox/configuration.rb,
lib/bibox/models/ticker.rb,
lib/bibox/models/contract.rb,
lib/bibox/models/transfer.rb,
lib/bibox/websocket/client.rb,
lib/bibox/models/order_book.rb,
lib/bibox/rest/public/pairs.rb,
lib/bibox/models/user_assets.rb,
lib/bibox/rest/private/bills.rb,
lib/bibox/rest/public/klines.rb,
lib/bibox/rest/public/ticker.rb,
lib/bibox/rest/public/trades.rb,
lib/bibox/rest/private/assets.rb,
lib/bibox/rest/private/orders.rb,
lib/bibox/rest/private/transfers.rb,
lib/bibox/rest/public/order_book.rb,
lib/bibox/rest/private/order_book.rb,
lib/bibox/rest/private/contracts/assets.rb,
lib/bibox/rest/private/contracts/orders.rb,
lib/bibox/rest/private/contracts/general.rb

Defined Under Namespace

Modules: Constants, Errors, Models, Rest, Websocket Classes: Configuration, Utilities

Constant Summary collapse

VERSION =
"0.1.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



72
73
74
# File 'lib/bibox.rb', line 72

def self.configuration
  @configuration ||= ::Bibox::Configuration.new
end

Class Method Details

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

Yields:



80
81
82
# File 'lib/bibox.rb', line 80

def self.configure
  yield(configuration)
end

.resetObject



76
77
78
# File 'lib/bibox.rb', line 76

def self.reset
  @configuration = ::Bibox::Configuration.new
end