class Kontena::Cli::Master::Config::GetCommand

Public Instance Methods

execute() click to toggle source
# File lib/kontena/cli/master/config/get_command.rb, line 19
def execute
  value = response[key]
  print(key + '=') if pair?
  puts value
end
response() click to toggle source
# File lib/kontena/cli/master/config/get_command.rb, line 15
def response
  client.get("config/#{key}")
end