Sha256: 0f0414206b2c2c4c4734f1a2d661a1b196ddab0640fcde3e7148457e8d261a73
Contents?: true
Size: 271 Bytes
Versions: 3
Compression:
Stored size: 271 Bytes
Contents
require 'mtgox/models/offer' module MtGox module Models class Bid < Offer def initialize(price=nil, amount=nil) super :price => price, :amount => amount end def eprice price * (1 - MtGox.commission) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mt_gox-0.7.7 | lib/mtgox/models/bid.rb |
mt_gox-0.7.6 | lib/mtgox/models/bid.rb |
mt_gox-0.7.5 | lib/mtgox/models/bid.rb |