Class: Ipfs::Command::Cat

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-ipfs-http-client/api/files/cat.rb

Constant Summary collapse

PATH =
'/cat'

Class Method Summary collapse

Class Method Details

.build_request(multihash) ⇒ Object



8
9
10
# File 'lib/ruby-ipfs-http-client/api/files/cat.rb', line 8

def self.build_request(multihash)
  Command.build_request(PATH, multihash: multihash)
end

.parse_response(response) ⇒ Object



12
13
14
# File 'lib/ruby-ipfs-http-client/api/files/cat.rb', line 12

def self.parse_response(response)
  DagStream.new response
end