lib/loquor/resource.rb in loquor-1.5.0 vs lib/loquor/resource.rb in loquor-1.6.0
- old
+ new
@@ -53,7 +53,11 @@
end
def self.update(id, payload)
ApiCall::Update.new(self, id, payload: payload).execute
end
+
+ def self.destroy(id)
+ ApiCall::Destroy.new(self, id).execute
+ end
end
end