Sha256: 0afca054406d406a0127ecec9e0bec5ff86bbd0b1c836abeb3e2afb947356553
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
module Lumberg module Whostmgr class Ssl < Base # Public: Removes a SSL certificate # # options - Hash options for API call params (default: {}): # :domain - Domain name for the cert removal # # 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lumberg-2.0.0.pre9 | lib/lumberg/whostmgr/ssl.rb |
lumberg-2.0.0.pre8 | lib/lumberg/whostmgr/ssl.rb |