lib/ruby_vault.rb in ruby_vault-0.1.0.pre.15 vs lib/ruby_vault.rb in ruby_vault-0.1.0.pre.16
- old
+ new
@@ -29,9 +29,14 @@
def write(parameters = {}, invocation_options = {})
exec(RubyVault::Commands::Write,
parameters, invocation_options)
end
+ def list(parameters = {}, invocation_options = {})
+ exec(RubyVault::Commands::List,
+ parameters, invocation_options)
+ end
+
private
def exec(command_class, parameters, invocation_options)
command_class.new.execute(parameters, invocation_options)
end