Class: Ipfs::Commands::Cat

Inherits:
Base
  • Object
show all
Defined in:
lib/ipfs-http-client-rb/commands/cat.rb

Class Method Summary collapse

Methods inherited from Base

parse, request

Class Method Details

.call(client, node) ⇒ Object



6
7
8
# File 'lib/ipfs-http-client-rb/commands/cat.rb', line 6

def self.call(client, node)
  request(client, "/cat?arg=#{node}").to_s
end