Class: Cryptoexchange::Services::TradeStream
- Inherits:
-
Object
- Object
- Cryptoexchange::Services::TradeStream
show all
- Defined in:
- lib/cryptoexchange/services/trade_stream.rb
Instance Method Summary
collapse
Instance Method Details
#parse_message(message, market_pair) ⇒ Object
16
17
18
|
# File 'lib/cryptoexchange/services/trade_stream.rb', line 16
def parse_message(message, market_pair)
raise NotImplementedError, 'parse_message method is not defined!'
end
|
#subscribe_event(market_pair) ⇒ Object
8
9
10
|
# File 'lib/cryptoexchange/services/trade_stream.rb', line 8
def subscribe_event(market_pair)
raise NotImplementedError, 'subscribe_event method is not defined!'
end
|
#url ⇒ Object
4
5
6
|
# File 'lib/cryptoexchange/services/trade_stream.rb', line 4
def url
raise NotImplementedError, 'url method is not defined!'
end
|
#valid_message?(message) ⇒ Boolean
12
13
14
|
# File 'lib/cryptoexchange/services/trade_stream.rb', line 12
def valid_message?(message)
raise NotImplementedError, 'valid_message? method is not defined!'
end
|