Module: Glassfrog::REST::Delete

Defined in:
lib/glassfrog/rest/delete.rb

Overview

Encapsulates all DELETE requests.

Class Method Summary collapse

Class Method Details

.delete(client, path, options) ⇒ Boolean

Sends a DELETE request.

Parameters:

  • client (Glassfrog::Client)

    Client that will send the request.

  • path (String)

    Path to send request to.

  • options (Hash)

    Options being sent in the request.

Returns:

  • (Boolean)

    Whether request was successful.



16
17
18
# File 'lib/glassfrog/rest/delete.rb', line 16

def self.delete(client, path, options)
  Glassfrog::REST::Request.new(client, :delete, path, options).perform
end