Module: MtGox

Defined in:
lib/mtgox.rb,
lib/mtgox/error.rb,
lib/mtgox/client.rb,
lib/mtgox/version.rb,
lib/mtgox/request.rb,
lib/mtgox/connection.rb

Defined Under Namespace

Modules: Connection, Request Classes: Client, Error, MysqlError

Constant Summary

VERSION =
"0.3.1"

Class Attribute Summary (collapse)

Class Method Summary (collapse)

Class Attribute Details

+ (Object) name

Returns the value of attribute name



6
7
8
# File 'lib/mtgox.rb', line 6

def name
  @name
end

+ (Object) pass

Returns the value of attribute pass



6
7
8
# File 'lib/mtgox.rb', line 6

def pass
  @pass
end

Class Method Details

+ (Object) configure {|_self| ... }

Yields:

  • (_self)

Yield Parameters:

  • _self (MtGox)

    the object that the method was called on



7
8
9
# File 'lib/mtgox.rb', line 7

def configure
  yield self
end

+ (Object) method_missing(method, *args, &block)

Delegate to MtGox::Client



19
20
21
22
# File 'lib/mtgox.rb', line 19

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

+ (MtGox::Client) new

Alias for MtGox::Client.new

Returns:



14
15
16
# File 'lib/mtgox.rb', line 14

def new
  MtGox::Client.new
end

+ (Boolean) respond_to?(method, include_private = false)

Returns:

  • (Boolean)


24
25
26
# File 'lib/mtgox.rb', line 24

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