Class: RubyEasyRSA::Commands::ImportReq

Inherits:
Base
  • Object
show all
Includes:
Mixins::GlobalConfig, Mixins::SSLConfig
Defined in:
lib/ruby_easy_rsa/commands/import_req.rb

Instance Attribute Summary

Attributes inherited from Base

#binary

Instance Method Summary collapse

Methods inherited from Base

#do_after, #do_before, #execute, #initialize, #instantiate_builder, #stderr, #stdin, #stdout

Constructor Details

This class inherits a constructor from RubyEasyRSA::Commands::Base

Instance Method Details

#configure_command(builder, opts) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/ruby_easy_rsa/commands/import_req.rb', line 15

def configure_command(builder, opts)
  request_file = opts[:request_file]
  filename_base = opts[:filename_base]

  builder = super(builder, opts)
  builder = builder.with_subcommand('import-req')
  builder = builder.with_argument(request_file)
  builder.with_argument(filename_base)
end