Class: Ipfs::Command::Cat
- Inherits:
-
Object
- Object
- Ipfs::Command::Cat
- Defined in:
- lib/api/files/cat.rb
Constant Summary collapse
- PATH =
'/cat'
Class Method Summary collapse
Class Method Details
.make_request(multi_hash) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/api/files/cat.rb', line 9 def self.make_request multi_hash { method: :get, path: PATH, params: { :arg => multi_hash } } end |
.parse_response(response) ⇒ Object
17 18 19 |
# File 'lib/api/files/cat.rb', line 17 def self.parse_response response DagNode.new response end |