Method: ConsistentCluster::SyncClient#remote_version

Defined in:
lib/consistent-cluster/sync-client.rb

#remote_versionObject



102
103
104
105
106
107
108
109
110
111
# File 'lib/consistent-cluster/sync-client.rb', line 102

def remote_version
  app_names = get_app_names(watch: false)

  data = {}
  app_names.each do |app_name|
    app_content = get_app_content(app_name, watch: false)
    data[app_name] = app_content
  end
  data
end