Class: Ohmage::CLI
Defined Under Namespace
Classes: Create, Delete, List, Update
Instance Method Summary
collapse
Methods included from CliHelpers
format_output
Instance Method Details
#hi ⇒ Object
177
178
179
180
181
182
183
184
|
# File 'lib/ohmage/cli.rb', line 177
def hi
conf = Ohmage.client
puts 'Server: ' + conf.server_url
puts 'Current User: ' + conf.user
conf.server_config.each do |k, v|
puts k.to_s + ': ' + v.to_s
end
end
|