class Bitex::Buy

TODO: rever esta docu A transaction in which you bought some quantity of specie.

Attributes

bid_id[RW]

@!attribute bid_id

@return [Integer] Unique ID for the Bid that resulted in this Buy

Public Class Methods

from_json(json) click to toggle source

@visibility private

Calls superclass method
# File lib/bitex/buy.rb, line 33
def self.from_json(json)
  super(json).tap do |thing|
    thing.bid_id = json[8].to_i
  end
end