Class: Shared::PendingConfiguration
- Inherits:
-
Configuration
- Object
- Resource
- Configuration
- Shared::PendingConfiguration
- Defined in:
- lib/vas/shared/pending_configuration.rb
Overview
A configuration file that is pending and will be made live the next time its instance is started
Direct Known Subclasses
Gemfire::AgentPendingConfiguration, Gemfire::CacheServerPendingConfiguration, Gemfire::LocatorPendingConfiguration, RabbitMq::PendingConfiguration, TcServer::PendingConfiguration
Instance Attribute Summary
Attributes inherited from Configuration
Attributes inherited from Resource
Instance Method Summary collapse
-
#content=(new_content) ⇒ Object
Updates the configuration to contain
new_content
.
Methods inherited from Configuration
Instance Method Details
#content=(new_content) ⇒ Object
Updates the configuration to contain new_content
33 34 35 36 |
# File 'lib/vas/shared/pending_configuration.rb', line 33 def content=(new_content) client.post(content_location, new_content) @size = client.get(location)['size'] end |