Class: BSV::Network::ARC Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/bsv/network/arc.rb

Overview

Deprecated.

Use Protocols::ARC 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::ARC is deprecated. ' \
'Use BSV::Network::Protocols::ARC directly — it returns Result objects ' \
'instead of raising exceptions. See BSV::Network::Protocols::ARC for usage.'

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeARC

Returns a new instance of ARC.

Raises:



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

def initialize(*)
  raise DeprecationError, MESSAGE
end

Class Method Details

.defaultObject

Raises:



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

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