Module: Convoy::ApiOperations::Delete

Included in:
Convoy::ApiKey, Endpoint, Event, PortalLink, Project, Source, Subscription
Defined in:
lib/convoy/api_operations/delete.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



17
18
19
20
# File 'lib/convoy/api_operations/delete.rb', line 17

def self.included(base)
  # Setup helper methods on Class.
  base.extend(ClassMethods)
end

Instance Method Details

#deleteObject



13
14
15
# File 'lib/convoy/api_operations/delete.rb', line 13

def delete
  send_request(resource_uri, :delete, params: @params)
end