Class: Ipfs::Connection::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby-ipfs-http-client/connection/default.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, #up?

Constructor Details

#initializeDefault

Returns a new instance of Default.



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

def initialize
  @host = 'localhost'
  @port = 5001
end