Class: Ipfs::Commands::PinAdd
- Defined in:
- lib/ipfs-http-client-rb/commands/pin_add.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.call(client, node, recursive: false) ⇒ Object
6 7 8 9 |
# File 'lib/ipfs-http-client-rb/commands/pin_add.rb', line 6 def self.call(client, node, recursive: false) response = request(client, "/pin/add?arg=#{node}&recursive=#{recursive}") parse(response.body) end |