Module: MtGox
- Extended by:
- Configuration
- Defined in:
- lib/mtgox.rb,
lib/mtgox/me.rb,
lib/mtgox/ask.rb,
lib/mtgox/base.rb,
lib/mtgox/depth.rb,
lib/mtgox/order.rb,
lib/mtgox/trade.rb,
lib/mtgox/client.rb,
lib/mtgox/ticker.rb,
lib/mtgox/request.rb,
lib/mtgox/version.rb,
lib/mtgox/connection.rb,
lib/mtgox/configuration.rb,
lib/mtgox/response/raise_mtgox_error.rb
Defined Under Namespace
Modules: Configuration, Connection, Request Classes: Ask, AskBase, Base, Bid, Client, Depth, Me, Order, Response, Ticker, Trade
Constant Summary collapse
- Error =
Class.new StandardError
- MysqlError =
Class.new Error
- VERSION =
"0.8.0"
Constants included from Configuration
Configuration::DEFAULT_COMMISSION, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
- .me ⇒ Object
-
.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
40 41 42 43 |
# File 'lib/mtgox.rb', line 40 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
31 32 33 |
# File 'lib/mtgox.rb', line 31 def new Client.new end |
.respond_to?(method, include_private = false) ⇒ Boolean
45 46 47 |
# File 'lib/mtgox.rb', line 45 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |