Class: Namecheap::Ssl
- Inherits:
-
Api
- Object
- Api
- Namecheap::Ssl
show all
- Defined in:
- lib/namecheap/ssl.rb
Constant Summary
Constants inherited
from Api
Api::ENDPOINT, Api::ENVIRONMENT, Api::PRODUCTION, Api::SANDBOX
Instance Method Summary
collapse
Methods inherited from Api
#api_call, #init_args
Instance Method Details
#activate(id, options = {}) ⇒ Object
3
4
5
6
7
|
# File 'lib/namecheap/ssl.rb', line 3
def activate(id, options = {})
args = options.clone
args['CertificateID'] = id
api_call('namecheap.ssl.activate', args)
end
|
#create(options = {}) ⇒ Object
32
33
34
35
|
# File 'lib/namecheap/ssl.rb', line 32
def create(options = {})
args = options.clone
api_call('namecheap.ssl.create', args)
end
|
#get_approver_email_list(domain, options = {}) ⇒ Object
21
22
23
24
25
|
# File 'lib/namecheap/ssl.rb', line 21
def get_approver_email_list(domain, options = {})
args = options.clone
args['DomainName'] = domain
api_call('namecheap.ssl.getApproverEmailList', args)
end
|
#get_info(id, options = {}) ⇒ Object
9
10
11
12
13
|
# File 'lib/namecheap/ssl.rb', line 9
def get_info(id, options = {})
args = options.clone
args['CertificateID'] = id
api_call('namecheap.ssl.getInfo', args)
end
|
#get_list(options = {}) ⇒ Object
27
28
29
30
|
# File 'lib/namecheap/ssl.rb', line 27
def get_list(options = {})
args = options.clone
api_call('namecheap.ssl.getList', args)
end
|
#parse_csr(csr, options = {}) ⇒ Object
15
16
17
18
19
|
# File 'lib/namecheap/ssl.rb', line 15
def parse_csr(csr, options = {})
args = options.clone
args['csr'] = csr
api_call('namecheap.ssl.parseCSR', args)
end
|
#reissue(id, options = {}) ⇒ Object
54
55
56
57
58
|
# File 'lib/namecheap/ssl.rb', line 54
def reissue(id, options = {})
args = options.clone
args['CertificateID'] = id
api_call('namecheap.ssl.reissue', args)
end
|
#renew(options = {}) ⇒ Object
37
38
39
40
|
# File 'lib/namecheap/ssl.rb', line 37
def renew(options = {})
args = options.clone
api_call('namecheap.ssl.renew', args)
end
|
#resend_approver_email(id, options = {}) ⇒ Object
42
43
44
45
46
|
# File 'lib/namecheap/ssl.rb', line 42
def resend_approver_email(id, options = {})
args = options.clone
args['CertificateID'] = id
api_call('namecheap.ssl.resendApproverEmail', args)
end
|
#resend_fulfillment_email(id, options = {}) ⇒ Object
48
49
50
51
52
|
# File 'lib/namecheap/ssl.rb', line 48
def resend_fulfillment_email(id, options = {})
args = options.clone
args['CertificateID'] = id
api_call('namecheap.ssl.resendfulfillmentemail', args)
end
|