Class: Digicert::CLI::Commands::Csr

Inherits:
Thor
  • Object
show all
Defined in:
lib/digicert/cli/commands/csr.rb

Instance Method Summary collapse

Instance Method Details

#fetch(order_id) ⇒ Object



10
11
12
# File 'lib/digicert/cli/commands/csr.rb', line 10

def fetch(order_id)
  say(csr_instance(order_id: order_id).fetch)
end

#generateObject



21
22
23
# File 'lib/digicert/cli/commands/csr.rb', line 21

def generate
  say(csr_instance.generate)
end