Class: Devilicious::Market::Base
- Inherits:
-
Object
- Object
- Devilicious::Market::Base
show all
- Defined in:
- lib/devilicious/markets/base.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#order_book ⇒ Object
Returns the value of attribute order_book.
8
9
10
|
# File 'lib/devilicious/markets/base.rb', line 8
def order_book
@order_book
end
|
Instance Method Details
#to_s ⇒ Object
10
11
12
|
# File 'lib/devilicious/markets/base.rb', line 10
def to_s
self.class.to_s.gsub(/.*::/, "")
end
|
#trade_fee ⇒ Object
14
15
16
|
# File 'lib/devilicious/markets/base.rb', line 14
def trade_fee
raise NotImplementedError
end
|