Sha256: b6e5cd3308b735ba444eaf43fcf3143109741b8dcd1de80bd46d3f9576e2d1b6

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

require 'mtgox/client'

module MtGox
  # Alias for MtGox::Client.new
  #
  # @return [MtGox::Client]
  def self.new
    MtGox::Client.new
  end

  # Delegate to MtGox::Client
  def self.method_missing(method, *args, &block)
    return super unless new.respond_to?(method)
    new.send(method, *args, &block)
  end

  def self.respond_to?(method, include_private=false)
    new.respond_to?(method, include_private) || super(method, include_private)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mtgox-0.0.1 lib/mtgox.rb