Class: Flashboy::OrderBook
- Inherits:
-
Object
- Object
- Flashboy::OrderBook
- Defined in:
- lib/flashboy/order_book.rb
Instance Attribute Summary collapse
-
#asks ⇒ Object
readonly
Returns the value of attribute asks.
-
#bids ⇒ Object
readonly
Returns the value of attribute bids.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ OrderBook
constructor
A new instance of OrderBook.
Constructor Details
Instance Attribute Details
#asks ⇒ Object (readonly)
Returns the value of attribute asks.
3 4 5 |
# File 'lib/flashboy/order_book.rb', line 3 def asks @asks end |
#bids ⇒ Object (readonly)
Returns the value of attribute bids.
3 4 5 |
# File 'lib/flashboy/order_book.rb', line 3 def bids @bids end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/flashboy/order_book.rb', line 3 def data @data end |