Class: Namecheap::Ssl
Constant Summary
Constants inherited from Api
Api::ENDPOINT, Api::ENVIRONMENT, Api::PRODUCTION, Api::SANDBOX
Instance Method Summary collapse
-
#activate(id, options = {}) ⇒ Object
Activates a newly purchased SSL certificate.
-
#create(options = {}) ⇒ Object
Creates a new SSL certificate.
-
#get_approver_email_list(domain, options = {}) ⇒ Object
Gets approver email list for the requested domain.
-
#get_info(id, options = {}) ⇒ Object
Retrieves information about the requested SSL certificate.
-
#get_list(options = {}) ⇒ Object
Returns a list of SSL certificates for a particular user.
-
#parse_csr(csr, options = {}) ⇒ Object
Parsers the CSR.
-
#reissue(id, options = {}) ⇒ Object
Reissues an SSL certificate.
-
#renew(options = {}) ⇒ Object
Renews an SSL certificate.
-
#resend_approver_email(id, options = {}) ⇒ Object
Resends the approver email.
-
#resend_fulfillment_email(id, options = {}) ⇒ Object
Resends the fulfilment email containing the certificate.
Methods inherited from Api
#delete, #get, #init_args, #post, #put, #request
Instance Method Details
#activate(id, options = {}) ⇒ Object
Activates a newly purchased SSL certificate.
5 6 7 8 |
# File 'lib/namecheap/ssl.rb', line 5 def activate(id, = {}) = {:CertificateID => id}.merge() get 'ssl.activate', end |
#create(options = {}) ⇒ Object
Creates a new SSL certificate.
39 40 41 |
# File 'lib/namecheap/ssl.rb', line 39 def create( = {}) get 'ssl.create', end |
#get_approver_email_list(domain, options = {}) ⇒ Object
Gets approver email list for the requested domain.
26 27 28 29 |
# File 'lib/namecheap/ssl.rb', line 26 def get_approver_email_list(domain, = {}) = {:DomainName => domain}.merge() get 'ssl.getApproverEmailList', end |
#get_info(id, options = {}) ⇒ Object
Retrieves information about the requested SSL certificate.
12 13 14 15 |
# File 'lib/namecheap/ssl.rb', line 12 def get_info(id, = {}) = {:CertificateID => id}.merge() get 'ssl.getInfo', end |
#get_list(options = {}) ⇒ Object
Returns a list of SSL certificates for a particular user.
33 34 35 |
# File 'lib/namecheap/ssl.rb', line 33 def get_list( = {}) get 'ssl.getList', end |
#parse_csr(csr, options = {}) ⇒ Object
Parsers the CSR.
19 20 21 22 |
# File 'lib/namecheap/ssl.rb', line 19 def parse_csr(csr, = {}) = {:csr => csr}.merge() get 'ssl.parseCSR', end |
#reissue(id, options = {}) ⇒ Object
Reissues an SSL certificate.
65 66 67 68 |
# File 'lib/namecheap/ssl.rb', line 65 def reissue(id, = {}) = {:CertificateID => id}.merge() get 'ssl.reissue', end |
#renew(options = {}) ⇒ Object
Renews an SSL certificate.
45 46 47 |
# File 'lib/namecheap/ssl.rb', line 45 def renew( = {}) get 'ssl.renew', end |
#resend_approver_email(id, options = {}) ⇒ Object
Resends the approver email.
51 52 53 54 |
# File 'lib/namecheap/ssl.rb', line 51 def resend_approver_email(id, = {}) = {:CertificateID => id}.merge() get 'ssl.resendApproverEmail', end |
#resend_fulfillment_email(id, options = {}) ⇒ Object
Resends the fulfilment email containing the certificate.
58 59 60 61 |
# File 'lib/namecheap/ssl.rb', line 58 def resend_fulfillment_email(id, = {}) = {:CertificateID => id}.merge() get 'ssl.resendfulfillmentemail', end |