Method: Base::Endpoints::Files#delete

Defined in:
lib/base/endpoints/files.rb

#delete(id) ⇒ Object

Deletes the file with the given ID.



64
65
66
67
68
69
70
71
# File 'lib/base/endpoints/files.rb', line 64

def delete(id)
  request do
    response =
      connection.delete id

    parse(response.body)
  end
end