Class: BSV::Network::WhatsOnChain Deprecated

Inherits:
Object
  • Object
show all
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

Constructor Details

#initializeWhatsOnChain

Returns a new instance of WhatsOnChain.

Raises:



21
22
23
# File 'lib/bsv/network/whats_on_chain.rb', line 21

def initialize(*)
  raise DeprecationError, MESSAGE
end

Class Method Details

.defaultObject

Raises:



17
18
19
# File 'lib/bsv/network/whats_on_chain.rb', line 17

def self.default(**)
  raise DeprecationError, MESSAGE
end