Module: Weeblycloud::Deleteable

Included in:
Blog, BlogPost, Group, Member, Site
Defined in:
lib/weeblycloud/deleteable.rb

Overview

CloudResource objects may use this module if they can be deleted

Instance Method Summary collapse

Instance Method Details

#deleteObject

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