Method: Pgai::Client#delete

Defined in:
lib/pgai/client.rb

#delete(path) ⇒ Object



35
36
37
38
39
40
# File 'lib/pgai/client.rb', line 35

def delete(path)
  response = client.delete(path: path)
  return {} if response.body.empty?

  parse_reponse(response.body)
end