Class: Digicert::CLI::CSR
- Inherits:
-
Base
- Object
- Base
- Digicert::CLI::CSR
show all
- Defined in:
- lib/digicert/cli/csr.rb
Instance Attribute Summary
Attributes inherited from Base
#options, #order_id
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#fetch ⇒ Object
4
5
6
7
8
|
# File 'lib/digicert/cli/csr.rb', line 4
def fetch
if order
order.certificate.csr
end
end
|
#generate ⇒ Object
10
11
12
13
14
|
# File 'lib/digicert/cli/csr.rb', line 10
def generate
if order || valid_data?
generate_new_csr
end
end
|