Class: RubyEasyRSA::Commands::SignReq

Inherits:
Base
  • Object
show all
Includes:
Mixins::AlgorithmConfig, Mixins::CopyExtensionsConfig, Mixins::ExtraExtensionsConfig, Mixins::GlobalConfig, Mixins::NetscapeExtensionsConfig, Mixins::SSLConfig, Mixins::SubCAConfig
Defined in:
lib/ruby_easy_rsa/commands/sign_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



25
26
27
28
29
30
31
32
33
# File 'lib/ruby_easy_rsa/commands/sign_req.rb', line 25

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

  builder = super(builder, opts)
  builder = builder.with_subcommand('sign-req')
  builder = builder.with_argument(type)
  builder.with_argument(filename_base)
end