module Weeblycloud::Deleteable

CloudResource objects may use this module if they can be deleted

Public Instance Methods

delete() click to toggle source

Delete the resource

# File lib/weeblycloud/deleteable.rb, line 7
def delete
  response = @client.delete(@endpoint)
  return response.json["success"]
end