Class: IPFS::Commands::PinRm

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

Class Method Summary collapse

Class Method Details

.call(client, node, recursive:) ⇒ HTTP::Response

Returns:

  • (HTTP::Response)


10
11
12
# File 'lib/ipfs/commands/pin_rm.rb', line 10

def self.call(client, node, recursive:)
  HTTP.get "#{client.api_url}/pin/rm?arg=#{node}&recursive=#{recursive}"
end