Module: Weeblycloud::Deleteable
Overview
CloudResource objects may use this module if they can be deleted
Instance Method Summary collapse
-
#delete ⇒ Object
Delete the resource.
Instance Method Details
#delete ⇒ Object
Delete the resource
7 8 9 10 |
# File 'lib/weeblycloud/deleteable.rb', line 7 def delete response = @client.delete(@endpoint) return response.json["success"] end |