Class: Ipfs::Connection::Unreachable

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby-ipfs-http-client/connection/unreachable.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_BASE_PATH

Instance Attribute Summary

Attributes inherited from Base

#host, #port

Instance Method Summary collapse

Methods inherited from Base

#build_uri, #make_persistent

Instance Method Details

#up?Boolean

Returns:

  • (Boolean)

Raises:



7
8
9
# File 'lib/ruby-ipfs-http-client/connection/unreachable.rb', line 7

def up?
  raise Ipfs::Error::UnreachableDaemon, "IPFS is not reachable."
end