Class: RubyEasyRSA::Commands::Revoke
- Includes:
- Mixins::GlobalConfig, Mixins::SSLConfig
- Defined in:
- lib/ruby_easy_rsa/commands/revoke.rb
Instance Attribute Summary
Attributes inherited from Base
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 24 |
# File 'lib/ruby_easy_rsa/commands/revoke.rb', line 15 def configure_command(builder, opts) filename_base = opts[:filename_base] reason = opts[:reason] builder = super(builder, opts) builder = builder.with_subcommand('revoke') builder = builder.with_argument(filename_base) builder = builder.with_argument(reason) if reason builder end |