class Cryptoexchange::Models::Order
Attributes
amount[RW]
price[RW]
timestamp[RW]
Public Class Methods
new(args={})
click to toggle source
# File lib/cryptoexchange/models/order.rb, line 6 def initialize(args={}) @price = args[:price] @amount = args[:amount] @timestamp = args[:timestamp] || nil end