Class: TwistlockControl::Entities::CompositeConfiguration
- Inherits:
-
ProvisioningConfiguration
- Object
- TwistlockControl::Entity
- ProvisioningConfiguration
- TwistlockControl::Entities::CompositeConfiguration
- Defined in:
- lib/twistlock_control/entities/provisioning_configuration.rb
Overview
Configuration for a composite service
Instance Method Summary collapse
Methods inherited from ProvisioningConfiguration
Methods inherited from TwistlockControl::Entity
Instance Method Details
#container_configurations ⇒ Object
60 61 62 |
# File 'lib/twistlock_control/entities/provisioning_configuration.rb', line 60 def container_configurations configurations.flat_map(&:container_configurations) end |
#serialize ⇒ Object
54 55 56 57 58 |
# File 'lib/twistlock_control/entities/provisioning_configuration.rb', line 54 def serialize serialized = super serialized[:configurations] = configurations.map(&:serialize) serialized end |