Class: UU::CloudRuntime::Gateway
- Inherits:
-
RuntimeBaseClass
- Object
- RuntimeBaseClass
- UU::CloudRuntime::Gateway
- Defined in:
- lib/uu/cloud_runtime/gateway.rb
Class Method Summary collapse
-
.reset_configuration(cloud_uri, parameters = {}) ⇒ Object
Resets configuration for a single gateway.
Instance Method Summary collapse
-
#initialize(session = nil) ⇒ Gateway
constructor
Creates a new instance of
Gateway
. -
#reset_configuration(cloud_uri, parameters = {}) ⇒ UU::OS::Lang::Future
Resets configuration for a single gateway.
Constructor Details
Class Method Details
.reset_configuration(cloud_uri, parameters = {}) ⇒ Object
Resets configuration for a single gateway. This method is a convenience shortcut for the #reset_configuration instance method.
46 47 48 |
# File 'lib/uu/cloud_runtime/gateway.rb', line 46 def self.reset_configuration(cloud_uri, parameters = {}) self.new(UU::OS::Security::Session.current_session).reset_configuration(cloud_uri, parameters) end |
Instance Method Details
#reset_configuration(cloud_uri, parameters = {}) ⇒ UU::OS::Lang::Future
Note:
Each slot
has its own gateway!
Resets configuration for a single gateway.
40 41 42 |
# File 'lib/uu/cloud_runtime/gateway.rb', line 40 def reset_configuration(cloud_uri, parameters = {}) @client.invoke(:resetConfiguration, cloud_uri, parameters: parameters) end |