class Namecheap::Ssl
Public Instance Methods
Activates a newly purchased SSL certificate. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:activate
# File lib/namecheap/ssl.rb, line 5 def activate(id, options = {}) options = {:CertificateID => id}.merge(options) get 'ssl.activate', options end
Creates a new SSL certificate. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:create
# File lib/namecheap/ssl.rb, line 39 def create(options = {}) get 'ssl.create', options end
Gets approver email list for the requested domain. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:getapproveremaillist
# File lib/namecheap/ssl.rb, line 26 def get_approver_email_list(domain, options = {}) options = {:DomainName => domain}.merge(options) get 'ssl.getApproverEmailList', options end
Retrieves information about the requested SSL certificate. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:getinfo
# File lib/namecheap/ssl.rb, line 12 def get_info(id, options = {}) options = {:CertificateID => id}.merge(options) get 'ssl.getInfo', options end
Returns a list of SSL certificates for a particular user. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:getlist
# File lib/namecheap/ssl.rb, line 33 def get_list(options = {}) get 'ssl.getList', options end
Parsers the CSR. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:parsecsr
# File lib/namecheap/ssl.rb, line 19 def parse_csr(csr, options = {}) options = {:csr => csr}.merge(options) get 'ssl.parseCSR', options end
Reissues an SSL certificate. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:reissue
# File lib/namecheap/ssl.rb, line 65 def reissue(id, options = {}) options = {:CertificateID => id}.merge(options) get 'ssl.reissue', options end
Renews an SSL certificate. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:renew
# File lib/namecheap/ssl.rb, line 45 def renew(options = {}) get 'ssl.renew', options end
Resends the approver email. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:resendapproveremail
# File lib/namecheap/ssl.rb, line 51 def resend_approver_email(id, options = {}) options = {:CertificateID => id}.merge(options) get 'ssl.resendApproverEmail', options end
Resends the fulfilment email containing the certificate. @see developer.namecheap.com/docs/doku.php?id=api-reference:ssl:resendfulfillmentemail
# File lib/namecheap/ssl.rb, line 58 def resend_fulfillment_email(id, options = {}) options = {:CertificateID => id}.merge(options) get 'ssl.resendfulfillmentemail', options end