Class: SecretsManager::Cli::Base
- Inherits:
-
Object
- Object
- SecretsManager::Cli::Base
- Includes:
- Helpers
- Defined in:
- lib/secrets_manager/cli/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Methods included from Helpers
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/secrets_manager/cli/base.rb', line 12 def initialize() @options = @client = SecretsManager::Client.new end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
10 11 12 |
# File 'lib/secrets_manager/cli/base.rb', line 10 def client @client end |
Instance Method Details
#run ⇒ Object
17 18 19 20 |
# File 'lib/secrets_manager/cli/base.rb', line 17 def run config.init execute end |