Sha256: 6bdc5bf4ffced2fd1e207a7ab2ab77e6b559ca9b459074bf711ff09f48d2a696
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
require 'mtgox/client' module MtGox class << self attr_accessor :name, :pass def configure yield self end # Alias for MtGox::Client.new # # @return [MtGox::Client] def new MtGox::Client.new end # Delegate to MtGox::Client def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mtgox-0.3.0 | lib/mtgox.rb |
mtgox-0.2.0 | lib/mtgox.rb |