class DTK::Network::Client::Command::List
Public Class Methods
run(namespace, opts = {})
click to toggle source
# File lib/client/command/list.rb, line 4 def self.run(namespace, opts = {}) params = namespace ? {namespace: namespace} : {} modules_info = rest_get('modules', params) # return format expected by dtk-client, should change this to be more generic {'status' => 'ok', 'datatype' => 'remote_module', 'data' => modules_info} end