Class: GoogleSslCert::CLI::Secret

Inherits:
GoogleSslCert::Command show all
Defined in:
lib/google_ssl_cert/cli/secret.rb

Instance Method Summary collapse

Methods inherited from GoogleSslCert::Command

alter_command_description, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#get(name) ⇒ Object



10
11
12
13
# File 'lib/google_ssl_cert/cli/secret.rb', line 10

def get(name)
  value = GoogleSslCert::Secret.new(options).get(name)
  puts "Secret name: #{name} value #{value}"
end

#save(name, value) ⇒ Object



5
6
7
# File 'lib/google_ssl_cert/cli/secret.rb', line 5

def save(name, value)
  GoogleSslCert::Secret.new(options).save(name, value)
end