Class: BSV::Network::WhatsOnChain Deprecated
- Inherits:
-
Object
- Object
- BSV::Network::WhatsOnChain
- Defined in:
- lib/bsv/network/whats_on_chain.rb
Overview
Deprecated.
Use Protocols::WoCREST directly instead. The facade converted clean Result objects into exceptions — every consumer immediately caught them and converted back to data. Use the protocol layer, which returns Result objects natively.
Defined Under Namespace
Classes: DeprecationError
Constant Summary collapse
- MESSAGE =
'BSV::Network::WhatsOnChain is deprecated. ' \ 'Use BSV::Network::Protocols::WoCREST directly — it returns Result objects ' \ 'instead of raising exceptions. See BSV::Network::Protocols::WoCREST for usage.'
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ WhatsOnChain
constructor
A new instance of WhatsOnChain.
Constructor Details
#initialize ⇒ WhatsOnChain
Returns a new instance of WhatsOnChain.
21 22 23 |
# File 'lib/bsv/network/whats_on_chain.rb', line 21 def initialize(*) raise DeprecationError, MESSAGE end |
Class Method Details
.default ⇒ Object
17 18 19 |
# File 'lib/bsv/network/whats_on_chain.rb', line 17 def self.default(**) raise DeprecationError, MESSAGE end |