Class: IPFS::Commands::Cat

Inherits:
Object
  • Object
show all
Defined in:
lib/ipfs/commands/cat.rb

Class Method Summary collapse

Class Method Details

.call(client, node) ⇒ Object



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

def self.call(client, node)
  HTTP.get("#{client.api_url}/cat?arg=#{node}&stream-channels=true").to_s
end