lib/lumberg/whostmgr/ssl.rb in lumberg-2.0.0.pre7 vs lib/lumberg/whostmgr/ssl.rb in lumberg-2.0.0.pre8
- old
+ new
@@ -9,8 +9,22 @@
# Returns Hash API response
def remove(options = {})
host = options.delete(:domain)
perform_request({ function: "realdelsslhost", host: host })
end
+
+ # Public: Removes certificate data. Certificates and CSRs are grouped
+ # with their associated private key in SSL Storage Manager and every
+ # piece of data has a unique identifier. Whenever we're removing a SSL
+ # certificate from a domain, it's good to remove its data.
+ #
+ # options - Hash options for API call params (default: {}):
+ # :id - String unique identifier for cert, key or CSR
+ # :type - String type
+ #
+ # Returns Hash API response
+ def remove_data(options = {})
+ perform_request({ function: "delssldata" }.merge(options))
+ end
end
end
end