Class: Ipfs::Connection::Default
- Defined in:
- lib/ruby-ipfs-http-client/connection/default.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Default
constructor
A new instance of Default.
Methods inherited from Base
#build_uri, #make_persistent, #up?
Constructor Details
#initialize ⇒ Default
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 |