Class: Digicert::CLI::Certificate

Inherits:
Base
  • Object
show all
Defined in:
lib/digicert/cli/certificate.rb

Instance Attribute Summary

Attributes inherited from Base

#options, #order_id

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Digicert::CLI::Base

Instance Method Details

#downloadObject



14
15
16
# File 'lib/digicert/cli/certificate.rb', line 14

def download
  download_certificate(certificate_id)
end

#duplicatesObject



8
9
10
11
12
# File 'lib/digicert/cli/certificate.rb', line 8

def duplicates
  if order_id && duplicate_certificates
    display_in_table(duplicate_certificates)
  end
end

#fetchObject



4
5
6
# File 'lib/digicert/cli/certificate.rb', line 4

def fetch
  apply_option_flags(order.certificate)
end