- pull bulk of functionality into get_slivers() utility function so that
[plcapi.git] / PLC / Methods / SliceUpdate.py
index 86af928..2f53ad0 100644 (file)
@@ -7,7 +7,7 @@ from PLC.Slices import Slice, Slices
 from PLC.Auth import Auth
 from PLC.Methods.UpdateSlice import UpdateSlice
 
-class SliceUpdate(Method):
+class SliceUpdate(UpdateSlice):
     """
     Deprecated. See UpdateSlice.
    
@@ -26,6 +26,8 @@ class SliceUpdate(Method):
 
     returns = Parameter(int, '1 if successful')
 
+    object_type = 'Slice'
+
     def call(self, auth, slice_name, url, description):
 
        slice_fields = {}