Module: MtGox
- Extended by:
- Configuration
- Defined in:
- lib/mtgox.rb,
lib/mtgox/client.rb,
lib/mtgox/models.rb,
lib/mtgox/request.rb,
lib/mtgox/version.rb,
lib/mtgox/connection.rb,
lib/mtgox/models/ask.rb,
lib/mtgox/models/bid.rb,
lib/mtgox/models/buy.rb,
lib/mtgox/models/sell.rb,
lib/mtgox/models/depth.rb,
lib/mtgox/models/model.rb,
lib/mtgox/models/offer.rb,
lib/mtgox/models/order.rb,
lib/mtgox/models/trade.rb,
lib/mtgox/price_ticker.rb,
lib/mtgox/configuration.rb,
lib/mtgox/models/ticker.rb,
lib/mtgox/models/balance.rb,
lib/mtgox/models/max_bid.rb,
lib/mtgox/models/min_ask.rb,
lib/mtgox/models/multi_ticker.rb
Defined Under Namespace
Modules: Configuration, Connection, Models, PriceTicker, Request Classes: Client, Error, MysqlError
Constant Summary collapse
- VERSION_FILE =
:nodoc:
Pathname.new(__FILE__).dirname + '../../VERSION'
- VERSION =
VERSION_FILE.exist? ? VERSION_FILE.read.strip : nil
Constants included from Configuration
Configuration::DEFAULT_COMMISSION, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to MtGox::Client.
-
.new ⇒ MtGox::Client
Alias for MtGox::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to MtGox::Client
16 17 18 19 |
# File 'lib/mtgox.rb', line 16 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new ⇒ MtGox::Client
Alias for MtGox::Client.new
11 12 13 |
# File 'lib/mtgox.rb', line 11 def new MtGox::Client.new end |
.respond_to?(method, include_private = false) ⇒ Boolean
21 22 23 |
# File 'lib/mtgox.rb', line 21 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |