Module: Zyps::EnvironmentClient

Defined in:
lib/zyps/remote.rb

Overview

Get proxies to remote Environment objects via DRb. As with all DRb services, it is recommended you set $SAFE to 1 or higher.

Class Method Summary collapse

Class Method Details

.get_environment(uri) ⇒ Object

Get an environment proxy from the given URI.



95
96
97
98
# File 'lib/zyps/remote.rb', line 95

def EnvironmentClient.get_environment(uri)
	DRb.start_service()
	DRbObject.new_with_uri(uri)
end