class DTK::Network::Client::Command::ListNamespaces

Public Class Methods

run(opts = {}) click to toggle source
# File lib/client/command/list_namespaces.rb, line 4
def self.run(opts = {})
  namespaces = rest_get('namespaces')
  {'status' => 'ok', 'datatype' => 'remote_namespaces', 'data' => namespaces}
end