README.md in digicert-0.1.2 vs README.md in digicert-0.2.0
- old
+ new
@@ -593,17 +593,15 @@
already exists for that order.
```ruby
Digicert::OrderReissuer.create(
order: order_id,
- certificate: {
- common_name: certificate_common_name,
- dns_names: [certificate_dns_name],
- csr: certificate_csr,
- signature_hash: certificate_signature_hash,
- server_platform: { id: certificate_server_platform_id },
- }
+ common_name: certificate_common_name,
+ dns_names: [certificate_dns_name],
+ csr: certificate_csr,
+ signature_hash: certificate_signature_hash,
+ server_platform: { id: certificate_server_platform_id },
)
```
#### Duplicate a Certificate Order
@@ -613,16 +611,14 @@
hash. The common name and sans need to be the same as the original order.
```ruby
Digicert::OrderDuplicator.create(
order: order_id,
- certificate: {
- common_name: certificate_common_name,
- dns_names: [certificate_dns_name],
- csr: certificate_csr,
- signature_hash: certificate_signature_hash,
- server_platform: { id: certificate_server_platform_id },
- }
+ common_name: certificate_common_name,
+ dns_names: [certificate_dns_name],
+ csr: certificate_csr,
+ signature_hash: certificate_signature_hash,
+ server_platform: { id: certificate_server_platform_id },
)
```
#### Find a Duplicate Certificate